From 5c07f94aedb7eb1437116c0711b060c8d0d2673d Mon Sep 17 00:00:00 2001 From: Cayetano Santos Date: Tue, 17 Feb 2026 17:08:52 +0100 Subject: gnu: Add python-zipfile2. * gnu/packages/python-xyz.scm (python-zipfile2): New variable. Merges guix/guix!6509 Change-Id: I9453578dfe1136a3fcd7fc3738d0777047daa6d5 --- gnu/packages/python-xyz.scm | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to 'gnu/packages/python-xyz.scm') diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index c683e559e0f..c4f9a1704f6 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -18244,6 +18244,27 @@ with Python's built-in unittest test-cases, but supports more advanced features, such as project-specific plugins.") (license license:bsd-3)))) +(define-public python-zipfile2 + (package + (name "python-zipfile2") + (version "0.0.12") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/itziakos/zipfile2/") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1hmq33r3ffrrvm5nggsp69cjdbgjbwn6zbcrs2rhmb8pds0h81q7")))) + (build-system pyproject-build-system) + (native-inputs (list python-setuptools python-pytest)) + (home-page "https://github.com/itziakos/zipfile2/") + (synopsis "Improved @code{ZipFile} Python class") + (description "Zipfile2 is a backward compatible replacement to +@code{ZipFile}. It provides handling of symlinks, and exception management.") + (license license:psfl))) + (define-public python-nbconvert (package (name "python-nbconvert") -- cgit v1.3