guix_mirror_bot pushed a commit to branch master
in repository guix.
commit 9f10e5ed713573b22d809ec2beb03dd1ebdeb03f
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Mon Oct 12 15:59:51 2026 +0100
gnu: Add python-safe-netrc.
* gnu/packages/python-xyz.scm (python-safe-netrc): New variable.
Relates-to: guix/guix!11987
Reviewed-by: Hugo Buddelmeijer <[email protected]>
---
gnu/packages/python-xyz.scm | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index ac6527971dd..41ae5f4784d 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -3793,6 +3793,29 @@ networks. It enables the creation, interaction with,
and study of graphs and
networks.")
(license license:asl2.0)))
+(define-public python-safe-netrc
+ (package
+ (name "python-safe-netrc")
+ (version "1.0.1")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://git.ligo.org/computing/software/safe-netrc")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1l60lxyachdblb5g17yhy1p0hwinxn3d85k9q6w66hqxkwnpz2nx"))))
+ (build-system pyproject-build-system)
+ (native-inputs
+ (list python-pytest python-setuptools python-setuptools-scm))
+ (home-page "https://git.ligo.org/computing/software/safe-netrc")
+ (synopsis "Safe netrc file parser")
+ (description
+ "This package provides a subclass of the Python standard library
+@code{netrc.netrc} class to add some custom behaviors.")
+ (license license:gpl2+)))
+
(define-public python-safety-schemas
(package
(name "python-safety-schemas")