diff options
| author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-06-26 12:05:08 +0100 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-06-26 12:09:48 +0100 |
| commit | 91a2f2629be43a4aa288e39a49a8afea21a3ef7f (patch) | |
| tree | cbb90f924bb7bc621cee4024998c699c846a815d /gnu/packages/shellutils.scm | |
| parent | 22683101f36f0832574ec32c84cc77dfa08872fd (diff) | |
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
Diffstat (limited to 'gnu/packages/shellutils.scm')
| -rw-r--r-- | gnu/packages/shellutils.scm | 17 |
1 files changed, 12 insertions, 5 deletions
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.") | |||
| 905 | (license license:asl2.0))) | 905 | (license license:asl2.0))) |
| 906 | 906 | ||
| 907 | (define-public shell-functools | 907 | (define-public shell-functools |
| 908 | ;; v0.3.0 was released in 2018, there are changes providing fixes to the | ||
| 909 | ;; test suite, use the latest commit. | ||
| 910 | (let ((commit "530e3b6f098c41869f9dc47d1a3005e12ce300c0") | ||
| 911 | (revision "0")) | ||
| 908 | (package | 912 | (package |
| 909 | (name "shell-functools") | 913 | (name "shell-functools") |
| 910 | (version "0.3.0") | 914 | (version (git-version "0.3.0" revision commit)) |
| 911 | (source (origin | 915 | (source (origin |
| 912 | (method git-fetch) | 916 | (method git-fetch) |
| 913 | (uri (git-reference | 917 | (uri (git-reference |
| 914 | (url "https://github.com/sharkdp/shell-functools") | 918 | (url "https://github.com/sharkdp/shell-functools") |
| 915 | (commit (string-append "v" version)))) | 919 | (commit commit))) |
| 916 | (file-name (git-file-name name version)) | 920 | (file-name (git-file-name name version)) |
| 917 | (sha256 | 921 | (sha256 |
| 918 | (base32 | 922 | (base32 |
| 919 | "0d6zzg7cxfrzwzh1wmpj7q85kz33sak6ac59ncsm6dlbin12h0hi")))) | 923 | "0l23n5anppxds4678qnh84mykbdb7qxyjrxxjzm7kin7izfzczpa")))) |
| 920 | (build-system python-build-system) | 924 | (build-system pyproject-build-system) |
| 925 | (native-inputs | ||
| 926 | (list python-pytest | ||
| 927 | python-hatchling)) | ||
| 921 | (home-page "https://github.com/sharkdp/shell-functools/") | 928 | (home-page "https://github.com/sharkdp/shell-functools/") |
| 922 | (synopsis "Functional programming tools for the shell") | 929 | (synopsis "Functional programming tools for the shell") |
| 923 | (description "This package provides higher order functions like map, | 930 | (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 | |||
| 925 | the UNIX philosophy, these commands are designed to be composed via pipes. A | 932 | the UNIX philosophy, these commands are designed to be composed via pipes. A |
| 926 | large collection of functions such as basename, replace, contains or is_dir | 933 | large collection of functions such as basename, replace, contains or is_dir |
| 927 | are provided as arguments to these commands.") | 934 | are provided as arguments to these commands.") |
| 928 | (license license:expat))) | 935 | (license license:expat)))) |
| 929 | 936 | ||
| 930 | (define-public rig | 937 | (define-public rig |
| 931 | (package | 938 | (package |
