diff options
author | Nicolas Graves <ngraves@ngraves.fr> | 2025-03-25 08:56:48 +0100 |
---|---|---|
committer | Andreas Enge <andreas@enge.fr> | 2025-04-16 11:46:21 +0200 |
commit | 624f485fdbf86d46a1e1f209a2652da827c0597a (patch) | |
tree | eee861786df0c95268132c6f8744598d16583ee9 /gnu/packages/python-compression.scm | |
parent | 6b143b10eba10b8f556355192e2bf6dd1830a1cf (diff) |
gnu: Add python-unix-ar.
* gnu/packages/python-compression.scm (python-unix-ar): New variable.
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu/packages/python-compression.scm')
-rw-r--r-- | gnu/packages/python-compression.scm | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/gnu/packages/python-compression.scm b/gnu/packages/python-compression.scm index 5b994d408f..6892b9253c 100644 --- a/gnu/packages/python-compression.scm +++ b/gnu/packages/python-compression.scm @@ -11,6 +11,7 @@ ;;; Copyright © 2024 TakeV <takev@disroot.org> ;;; Copyright © 2023 Ivan Vilata i Balaguer <ivan@selidor.net> ;;; Copyright © 2024 Maxim Cournoyer <maxim.cournoyer@gmail.com> +;;; Copyright © 2025 Nicolas Graves <ngraves@ngraves.fr> ;;; ;;; This file is part of GNU Guix. ;;; @@ -764,6 +765,33 @@ install: libbitshuffle.so (inputs '()) (native-inputs '()))) +(define-public python-unix-ar + (package + (name "python-unix-ar") + (version "0.2.1") + (source + (origin + (method url-fetch) + (uri (pypi-uri "unix_ar" version)) + (sha256 + (base32 "0kicwxsh28x8r34a7cgzv2i65gsd4qjw2vf29pwq4fpsf3n2i4xz")))) + (build-system pyproject-build-system) + (arguments + ;; These tests have timestamp-related issues. + (list #:test-flags + #~(list "-m" "unittest" "-k" "not test_add and not test_addfile") + #:phases + #~(modify-phases %standard-phases + (replace 'check + (lambda* (#:key tests? test-flags #:allow-other-keys) + (apply invoke "python" test-flags)))))) + (native-inputs (list python-pytest python-setuptools python-wheel)) + (home-page "https://github.com/getninjas/unix_ar") + (synopsis "AR file handling in Python") + (description "This package provides utilities to handle AR files in +Python.") + (license license:bsd-3))) + (define-public python-zipp (package (name "python-zipp") |