[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
07/09: gnu: Add python-pynixutil.
From: |
guix-commits |
Subject: |
07/09: gnu: Add python-pynixutil. |
Date: |
Mon, 28 Nov 2022 17:35:38 -0500 (EST) |
civodul pushed a commit to branch master
in repository guix.
commit 42eccda8277d43446a3381835f8c0a95ae643973
Author: Hilton Chain <hako@ultrarare.space>
AuthorDate: Mon Nov 14 13:44:22 2022 +0800
gnu: Add python-pynixutil.
* gnu/packages/python-xyz.scm (python-pynixutil): New variable.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
---
gnu/packages/python-xyz.scm | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 87963f9f19..e87c6bc0b4 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -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")
- branch master updated (fddd62ff53 -> 3cff7bfa9b), guix-commits, 2022/11/28
- 04/09: gnu: Add go-github-com-itchyny-timefmt-go., guix-commits, 2022/11/28
- 03/09: gnu: Add paulxstretch., guix-commits, 2022/11/28
- 05/09: gnu: Add go-github-com-itchyny-gojq., guix-commits, 2022/11/28
- 06/09: gnu: Add gojq., guix-commits, 2022/11/28
- 07/09: gnu: Add python-pynixutil.,
guix-commits <=
- 09/09: gnu: Add svtplay-dl., guix-commits, 2022/11/28
- 08/09: gnu: Add python-dm-tree., guix-commits, 2022/11/28
- 02/09: snippets: yas: Add snippets for vc.el, guix-commits, 2022/11/28
- 01/09: gnu: Add swc., guix-commits, 2022/11/28