gnu: shell-functools: Update to 0.3.0-0.530e3b6.

* gnu/packages/shellutils.scm (shell-functools): Update to 0.3.0-0.530e3b6.
[source]: Use the latest commit providing comparability with Python 3.11
and test fixtures.
[build-system]: Use pyproject.
[native-inputs]: Add python-pytest and python-hatchling.

Change-Id: Ic6f6a5cfd235f1699abc911c2c811a85df3d5e05
This commit is contained in:
Sharlatan Hellseher 2025-06-26 12:05:08 +01:00
parent 22683101f3
commit 91a2f2629b
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -905,19 +905,26 @@ bookmark your favourite commands.")
(license license:asl2.0)))
(define-public shell-functools
;; v0.3.0 was released in 2018, there are changes providing fixes to the
;; test suite, use the latest commit.
(let ((commit "530e3b6f098c41869f9dc47d1a3005e12ce300c0")
(revision "0"))
(package
(name "shell-functools")
(version "0.3.0")
(version (git-version "0.3.0" revision commit))
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/sharkdp/shell-functools")
(commit (string-append "v" version))))
(commit commit)))
(file-name (git-file-name name version))
(sha256
(base32
"0d6zzg7cxfrzwzh1wmpj7q85kz33sak6ac59ncsm6dlbin12h0hi"))))
(build-system python-build-system)
"0l23n5anppxds4678qnh84mykbdb7qxyjrxxjzm7kin7izfzczpa"))))
(build-system pyproject-build-system)
(native-inputs
(list python-pytest
python-hatchling))
(home-page "https://github.com/sharkdp/shell-functools/")
(synopsis "Functional programming tools for the shell")
(description "This package provides higher order functions like map,
@ -925,7 +932,7 @@ filter, foldl, sort_by and take_while as simple command-line tools. Following
the UNIX philosophy, these commands are designed to be composed via pipes. A
large collection of functions such as basename, replace, contains or is_dir
are provided as arguments to these commands.")
(license license:expat)))
(license license:expat))))
(define-public rig
(package