gnu: Add python-pynixutil.

* gnu/packages/python-xyz.scm (python-pynixutil): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
Hilton Chain 2022-11-14 13:44:22 +08:00 committed by Ludovic Courtès
parent 3c8e3d0f90
commit 42eccda827
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5

View File

@ -23082,6 +23082,32 @@ environments.")
"PyNamecheap is a Namecheap API client in Python.")
(license license:expat)))
(define-public python-pynixutil
(package
(name "python-pynixutil")
(version "0.5.0")
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/nix-community/pynixutil")
(commit version)))
(file-name (git-file-name name version))
;; Derivation test uses nix.
(modules '((guix build utils)))
(snippet '(delete-file "tests/test_drv.py"))
(sha256
(base32
"1lnspcai7mqpv73bbd8kgyw63fxwgkwvfkl09b2bl5y2g2v7np6m"))))
(build-system pyproject-build-system)
(native-inputs (list poetry python-pytest))
(home-page "https://github.com/nix-community/pynixutil")
(synopsis "Utility functions for working with data from Nix in Python")
(description
"@code{pynixutil} provides functions for base32 encoding/decoding and
derivation parsing, namingly @code{b32decode()}, @code{b32encode()} and
@code{drvparse()}.")
(license license:expat)))
(define-public python-dns-lexicon
(package
(name "python-dns-lexicon")