diff options
author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2024-11-14 22:08:08 +0000 |
---|---|---|
committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2024-11-30 15:10:43 +0000 |
commit | 85e26ff7f57b9bfc76651c986e77809439fe0842 (patch) | |
tree | 07caa1d84ab379424c027b1c7565c0d5f39e9bf1 | |
parent | 30266339708f91da618dbd85374b69002e2ab203 (diff) |
gnu: Add python-puremagic.
* gnu/packages/python-xyz.scm (python-puremagic): New variable.
Change-Id: I326d15cdf6eb088f456954c28fd735bc1890840a
-rw-r--r-- | gnu/packages/python-xyz.scm | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 2be0747822..433f6ec0fc 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -12827,6 +12827,29 @@ MEDLINE XML repository.") abstract syntax tree (AST) nodes without side effects.") (license license:expat))) +(define-public python-puremagic + (package + (name "python-puremagic") + (version "1.28") + (source + (origin + (method git-fetch) ;no tests in PyPI archive + (uri (git-reference + (url "https://github.com/cdgriffith/puremagic") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0sffrjjqh37ijwnggyvs2rfm4iwaz2m395wqg0x727wv8i0x3f3b")))) + (build-system pyproject-build-system) + (native-inputs + (list python-pytest)) + (home-page "https://github.com/cdgriffith/puremagic") + (synopsis "Pure Python implementation of magic file detection") + (description + "This package implements a functionality that will identify a file based +off it's magic numbers.") + (license license:expat))) + (define-public python-ast-decompiler (package (name "python-ast-decompiler") |