diff --git a/gnu/packages/shellutils.scm b/gnu/packages/shellutils.scm index e688e243e2b..fb744a3c324 100644 --- a/gnu/packages/shellutils.scm +++ b/gnu/packages/shellutils.scm @@ -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