diff options
| author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-10-04 00:44:55 +0100 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-10-04 01:39:29 +0100 |
| commit | a5a7083f960faae90883372bafd1693019da5a8c (patch) | |
| tree | eaed477de2a2a2101fd80e90d7c575662792802a /gnu/packages/python-compression.scm | |
| parent | 222498ef7536a70d6f7aaeaa0ccbec1d5fb4834a (diff) | |
gnu: python-xopen: Move to python-compression.
* gnu/packages/python-xyz.scm (python-xopen): Move from here ...
* gnu/packages/python-compression.scm: ... to here.
Change-Id: Ibd5d8401fb45816855c85b0535738ce6b44d5e82
Diffstat (limited to 'gnu/packages/python-compression.scm')
| -rw-r--r-- | gnu/packages/python-compression.scm | 35 |
1 files changed, 33 insertions, 2 deletions
diff --git a/gnu/packages/python-compression.scm b/gnu/packages/python-compression.scm index 8b794481e1b..3c1713f6f62 100644 --- a/gnu/packages/python-compression.scm +++ b/gnu/packages/python-compression.scm | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | ;;; GNU Guix --- Functional package management for GNU | 1 | ;;; GNU Guix --- Functional package management for GNU |
| 2 | ;;; Copyright © 2017, 2018, 2023 Tobias Geerinckx-Rice <me@tobias.gr> | 2 | ;;; Copyright © 2016, 2017, 2018, 2023 Tobias Geerinckx-Rice <me@tobias.gr> |
| 3 | ;;; Copyright © 2017, 2019, 2021, 2022 Ricardo Wurmus <rekado@elephly.net> | 3 | ;;; Copyright © 2017, 2018, 2019, 2021, 2022, 2023 Ricardo Wurmus <rekado@elephly.net> |
| 4 | ;;; Copyright © 2017 Nikita <nikita@n0.is> | 4 | ;;; Copyright © 2017 Nikita <nikita@n0.is> |
| 5 | ;;; Copyright © 2017 Julien Lepiller <julien@lepiller.eu> | 5 | ;;; Copyright © 2017 Julien Lepiller <julien@lepiller.eu> |
| 6 | ;;; Copyright © 2018-2020, 2022, 2023 Efraim Flashner <efraim@flashner.co.il> | 6 | ;;; Copyright © 2018-2020, 2022, 2023 Efraim Flashner <efraim@flashner.co.il> |
| @@ -938,6 +938,37 @@ wrapper. It provides a backport of the @code{Path} object.") | |||
| 938 | @code{libdeflate}.") | 938 | @code{libdeflate}.") |
| 939 | (license license:expat))) | 939 | (license license:expat))) |
| 940 | 940 | ||
| 941 | (define-public python-xopen | ||
| 942 | (package | ||
| 943 | (name "python-xopen") | ||
| 944 | ;; TODO: Newer versions require zlib-ng: | ||
| 945 | ;; <https://github.com/zlib-ng/zlib-ng>, | ||
| 946 | ;; <https://github.com/pycompression/python-zlib-ng>. | ||
| 947 | (version "1.8.0") | ||
| 948 | (source | ||
| 949 | (origin | ||
| 950 | (method url-fetch) | ||
| 951 | (uri (pypi-uri "xopen" version)) | ||
| 952 | (sha256 | ||
| 953 | (base32 "0h08wpd5zwnlzwnbbbhahbcs69kzsfbaaigqw0viq6ri8n4zrh00")))) | ||
| 954 | (build-system pyproject-build-system) | ||
| 955 | ;; tests: 343 passed, 5 skipped | ||
| 956 | (native-inputs | ||
| 957 | (list python-pytest | ||
| 958 | python-pytest-timeout | ||
| 959 | python-setuptools | ||
| 960 | python-setuptools-scm)) | ||
| 961 | (propagated-inputs | ||
| 962 | (list pigz python-isal)) | ||
| 963 | (home-page "https://github.com/marcelm/xopen/") | ||
| 964 | (synopsis "Open compressed files transparently") | ||
| 965 | (description "This module provides an @code{xopen} function that works | ||
| 966 | like Python's built-in @code{open} function, but can also deal with compressed | ||
| 967 | files. Supported compression formats are gzip, bzip2 and, xz, and are | ||
| 968 | automatically recognized by their file extensions. The focus is on being as | ||
| 969 | efficient as possible on all supported Python versions.") | ||
| 970 | (license license:expat))) | ||
| 971 | |||
| 941 | (define-public python-zipstream-ng | 972 | (define-public python-zipstream-ng |
| 942 | (package | 973 | (package |
| 943 | (name "python-zipstream-ng") | 974 | (name "python-zipstream-ng") |
