Commit | Line | Data |
---|---|---|
c356339d | 1 | ;;; GNU Guix --- Functional package management for GNU |
d754347c | 2 | ;;; Copyright © 2013 Cyril Roelandt <tipecaml@gmail.com> |
618977ae | 3 | ;;; Copyright © 2014, 2015 David Thompson <davet@gnu.org> |
7ccb874a | 4 | ;;; Copyright © 2014 Kevin Lemonnier <lemonnierk@ulrar.net> |
9a57d3e6 | 5 | ;;; Copyright © 2015 Jeff Mickey <j@codemac.net> |
64fc78c8 | 6 | ;;; Copyright © 2016–2021 Tobias Geerinckx-Rice <me@tobias.gr> |
572ee05c | 7 | ;;; Copyright © 2016 Stefan Reichör <stefan@xsteve.at> |
bc74e9e4 | 8 | ;;; Copyright © 2017, 2018 Ricardo Wurmus <rekado@elephly.net> |
3c986a7d | 9 | ;;; Copyright © 2017, 2018 Nikita <nikita@n0.is> |
18d9d22a | 10 | ;;; Copyright © 2017, 2018 Leo Famulari <leo@famulari.name> |
0daa1d64 | 11 | ;;; Copyright © 2017 Arun Isaac <arunisaac@systemreboot.net> |
e1dba5be | 12 | ;;; Copyright © 2019 Meiyo Peng <meiyo.peng@gmail.com> |
2ccc9d69 | 13 | ;;; Copyright © 2019 Timothy Sample <samplet@ngyro.com> |
2b9ef6e5 | 14 | ;;; Copyright © 2019 Mathieu Othacehe <m.othacehe@gmail.com> |
ee8d86ff | 15 | ;;; Copyright © 2019, 2020 Jan (janneke) Nieuwenhuizen <janneke@gnu.org> |
718a6458 | 16 | ;;; Copyright © 2020 Brice Waegeneire <brice@waegenei.re> |
bd6eed4c | 17 | ;;; Copyright © 2020 Ryan Prior <rprior@protonmail.com> |
5c33e79a | 18 | ;;; Copyright © 2020 Efraim Flashner <efraim@flashner.co.il> |
bca05d07 | 19 | ;;; Copyright © 2020 Marius Bakke <marius@gnu.org> |
28c2c01a | 20 | ;;; Copyright © 2021 Nicolas Goaziou <mail@nicolasgoaziou.fr> |
c356339d TGR |
21 | ;;; |
22 | ;;; This file is part of GNU Guix. | |
23 | ;;; | |
24 | ;;; GNU Guix is free software; you can redistribute it and/or modify it | |
25 | ;;; under the terms of the GNU General Public License as published by | |
26 | ;;; the Free Software Foundation; either version 3 of the License, or (at | |
27 | ;;; your option) any later version. | |
28 | ;;; | |
29 | ;;; GNU Guix is distributed in the hope that it will be useful, but | |
30 | ;;; WITHOUT ANY WARRANTY; without even the implied warranty of | |
31 | ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
32 | ;;; GNU General Public License for more details. | |
33 | ;;; | |
34 | ;;; You should have received a copy of the GNU General Public License | |
35 | ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>. | |
36 | ||
37 | (define-module (gnu packages shells) | |
d754347c | 38 | #:use-module (gnu packages) |
9a57d3e6 | 39 | #:use-module (gnu packages autotools) |
d754347c | 40 | #:use-module (gnu packages base) |
1d962fc0 | 41 | #:use-module (gnu packages bash) |
e6880040 | 42 | #:use-module (gnu packages bison) |
c63db588 | 43 | #:use-module (gnu packages compression) |
28c2c01a NG |
44 | #:use-module (gnu packages crates-graphics) |
45 | #:use-module (gnu packages crates-io) | |
c63db588 | 46 | #:use-module (gnu packages curl) |
618977ae | 47 | #:use-module (gnu packages documentation) |
28a671ed | 48 | #:use-module (gnu packages groff) |
2ccc9d69 | 49 | #:use-module (gnu packages guile) |
cc5a76a7 | 50 | #:use-module (gnu packages libbsd) |
c356339d | 51 | #:use-module (gnu packages libedit) |
1d66e7ac | 52 | #:use-module (gnu packages linux) |
618977ae | 53 | #:use-module (gnu packages ncurses) |
7ccb874a | 54 | #:use-module (gnu packages pcre) |
9a57d3e6 TGR |
55 | #:use-module (gnu packages perl) |
56 | #:use-module (gnu packages pkg-config) | |
618977ae | 57 | #:use-module (gnu packages python) |
44d10b1f | 58 | #:use-module (gnu packages python-xyz) |
9a57d3e6 | 59 | #:use-module (gnu packages readline) |
c63db588 | 60 | #:use-module (gnu packages rust) |
a6149c35 | 61 | #:use-module (gnu packages rust-apps) |
52ddeaa0 | 62 | #:use-module (gnu packages scheme) |
c63db588 NG |
63 | #:use-module (gnu packages tls) |
64 | #:use-module (gnu packages version-control) | |
65 | #:use-module (gnu packages xorg) | |
28c2c01a | 66 | #:use-module (guix build-system cargo) |
1d66e7ac | 67 | #:use-module (guix build-system cmake) |
c356339d | 68 | #:use-module (guix build-system gnu) |
efe8dc71 | 69 | #:use-module (guix build-system meson) |
1d515855 | 70 | #:use-module (guix build-system python) |
1d962fc0 | 71 | #:use-module (guix build-system trivial) |
c356339d | 72 | #:use-module (guix download) |
9a57d3e6 | 73 | #:use-module (guix git-download) |
0f2e8e94 | 74 | #:use-module ((guix licenses) #:prefix license:) |
1d66e7ac JS |
75 | #:use-module (guix packages) |
76 | #:use-module (guix utils)) | |
c356339d TGR |
77 | |
78 | (define-public dash | |
79 | (package | |
80 | (name "dash") | |
64fc78c8 | 81 | (version "0.5.11.3") |
c356339d TGR |
82 | (source |
83 | (origin | |
da20c38f LF |
84 | (method url-fetch) |
85 | (uri (string-append "http://gondor.apana.org.au/~herbert/dash/files/" | |
86 | "dash-" version ".tar.gz")) | |
c356339d | 87 | (sha256 |
64fc78c8 | 88 | (base32 "0amwphfal2rnfa63f7qd4i9m4ckv0gm3j6jlxkmfi9x6ddkz3fb2")) |
c356339d TGR |
89 | (modules '((guix build utils))) |
90 | (snippet | |
91 | '(begin | |
92 | ;; The man page hails from BSD, where (d)ash is the default shell. | |
93 | ;; This isn't the case on Guix or indeed most other GNU systems. | |
94 | (substitute* "src/dash.1" | |
95 | (("the standard command interpreter for the system") | |
96 | "a command interpreter based on the original Bourne shell")) | |
97 | #t)))) | |
98 | (build-system gnu-build-system) | |
99 | (inputs | |
100 | `(("libedit" ,libedit))) | |
101 | (arguments | |
da20c38f | 102 | '(#:configure-flags '("--with-libedit"))) |
c356339d TGR |
103 | (home-page "http://gondor.apana.org.au/~herbert/dash") |
104 | (synopsis "POSIX-compliant shell optimised for size") | |
105 | (description | |
106 | "dash is a POSIX-compliant @command{/bin/sh} implementation that aims to be | |
107 | as small as possible, often without sacrificing speed. It is faster than the | |
108 | GNU Bourne-Again Shell (@command{bash}) at most scripted tasks. dash is a | |
109 | direct descendant of NetBSD's Almquist Shell (@command{ash}).") | |
0f2e8e94 NG |
110 | (license (list license:bsd-3 |
111 | license:gpl2+)))) ; mksignames.c | |
618977ae TGR |
112 | |
113 | (define-public fish | |
114 | (package | |
115 | (name "fish") | |
2d51775c | 116 | (version "3.2.2") |
e1dba5be MP |
117 | (source |
118 | (origin | |
119 | (method url-fetch) | |
120 | (uri (string-append "https://github.com/fish-shell/fish-shell/" | |
121 | "releases/download/" version "/" | |
2d51775c | 122 | "fish-" version ".tar.xz")) |
e1dba5be | 123 | (sha256 |
2d51775c | 124 | (base32 "02a0dgz5cy4iv3ysvl5kzzd4ji8pxqv93zd45041plcki0ddli2r")) |
5c33e79a EF |
125 | (modules '((guix build utils))) |
126 | (snippet | |
127 | '(begin | |
2d51775c TGR |
128 | ;; Remove bundled software. |
129 | (delete-file-recursively "pcre2"))))) | |
1d66e7ac | 130 | (build-system cmake-build-system) |
618977ae | 131 | (inputs |
4bddd12a | 132 | `(("fish-foreign-env" ,fish-foreign-env) |
a8d3bc47 | 133 | ("ncurses" ,ncurses) |
e1dba5be MP |
134 | ("pcre2" ,pcre2) ; don't use the bundled PCRE2 |
135 | ("python" ,python))) ; for fish_config and manpage completions | |
136 | (native-inputs | |
1d66e7ac | 137 | `(("doxygen" ,doxygen) |
2d51775c TGR |
138 | ("groff" ,groff) ; for 'fish --help' |
139 | ("procps" ,procps))) ; for the test suite | |
618977ae | 140 | (arguments |
1d66e7ac | 141 | '(#:phases |
a8d3bc47 | 142 | (modify-phases %standard-phases |
437af9e2 TLC |
143 | (add-after 'unpack 'set-env |
144 | (lambda _ | |
145 | ;; some tests write to $HOME | |
146 | (setenv "HOME" (getcwd)) | |
147 | #t)) | |
1d66e7ac JS |
148 | (add-after 'unpack 'patch-tests |
149 | (lambda* (#:key inputs #:allow-other-keys) | |
150 | (let ((coreutils (assoc-ref inputs "coreutils")) | |
151 | (bash (assoc-ref inputs "bash"))) | |
2d51775c | 152 | ;; This test fails. |
437af9e2 | 153 | (delete-file "tests/checks/pipeline-pgroup.fish") |
2d51775c TGR |
154 | ;; This one tries to open a terminal & can't simply be deleted. |
155 | (substitute* "cmake/Tests.cmake" | |
156 | ((".* interactive\\.fish.*") "")) | |
157 | ;; This one needs to chdir successfully. | |
158 | (substitute* "tests/checks/vars_as_commands.fish" | |
159 | (("/usr/bin") "/tmp")) | |
160 | ;; These contain absolute path references. | |
1d66e7ac JS |
161 | (substitute* "src/fish_tests.cpp" |
162 | (("/bin/echo" echo) (string-append coreutils echo)) | |
163 | (("/bin/ca" ca) (string-append coreutils ca)) | |
164 | (("\"(/bin/c)\"" _ c) (string-append "\"" coreutils c "\"")) | |
165 | (("/bin/ls_not_a_path" ls-not-a-path) | |
166 | (string-append coreutils ls-not-a-path)) | |
167 | (("/bin/ls" ls) (string-append coreutils ls)) | |
168 | (("(/bin/)\"" _ bin) (string-append coreutils bin "\"")) | |
169 | (("/bin -" bin) (string-append coreutils bin)) | |
170 | (((string-append | |
171 | "do_test\\(is_potential_path\\(" | |
172 | "L\"/usr\", wds, vars, PATH_REQUIRE_DIR\\)\\);")) | |
2d51775c TGR |
173 | "") |
174 | ;; Not all mentions of /usr... need to exist, but these do. | |
175 | (("\"/usr(|/lib)\"" _ subdirectory) | |
176 | (string-append "\"/tmp" subdirectory "\""))) | |
1d66e7ac | 177 | (substitute* |
437af9e2 TLC |
178 | (append (find-files "tests" ".*\\.(in|out|err)$") |
179 | (find-files "tests/checks" ".*\\.fish")) | |
1d66e7ac JS |
180 | (("/bin/pwd" pwd) (string-append coreutils pwd)) |
181 | (("/bin/echo" echo) (string-append coreutils echo)) | |
182 | (("/bin/sh" sh) (string-append bash sh)) | |
183 | (("/bin/ls" ls) (string-append coreutils ls))) | |
184 | (substitute* (find-files "tests" ".*\\.(in|out|err)$") | |
185 | (("/usr/bin") (string-append coreutils "/bin"))) | |
186 | #t))) | |
e1dba5be | 187 | ;; Source /etc/fish/config.fish from $__fish_sysconf_dir/config.fish. |
1d66e7ac | 188 | (add-after 'patch-tests 'patch-fish-config |
e1dba5be MP |
189 | (lambda _ |
190 | (let ((port (open-file "etc/config.fish" "a"))) | |
191 | (display (string-append | |
192 | "\n\n" | |
193 | "# Patched by Guix.\n" | |
194 | "# Source /etc/fish/config.fish.\n" | |
195 | "if test -f /etc/fish/config.fish\n" | |
196 | " source /etc/fish/config.fish\n" | |
197 | "end\n") | |
198 | port) | |
199 | (close-port port)) | |
200 | #t)) | |
1d66e7ac JS |
201 | ;; Embed absolute paths. |
202 | (add-before 'install 'embed-absolute-paths | |
203 | (lambda _ | |
437af9e2 TLC |
204 | (substitute* "share/functions/__fish_print_help.fish" |
205 | (("nroff") (which "nroff"))) | |
206 | #t)) | |
e1dba5be MP |
207 | ;; Enable completions, functions and configurations in user's and |
208 | ;; system's guix profiles by adding them to __extra_* variables. | |
209 | (add-before 'install 'patch-fish-extra-paths | |
210 | (lambda _ | |
211 | (let ((port (open-file "share/__fish_build_paths.fish" "a"))) | |
212 | (display | |
213 | (string-append | |
214 | "\n\n" | |
215 | "# Patched by Guix.\n" | |
216 | "# Enable completions, functions and configurations in user's" | |
217 | " and system's guix profiles by adding them to __extra_*" | |
218 | " variables.\n" | |
219 | "set -l __guix_profile_paths ~/.guix-profile" | |
220 | " /run/current-system/profile\n" | |
221 | "set __extra_completionsdir" | |
222 | " $__guix_profile_paths\"/etc/fish/completions\"" | |
223 | " $__guix_profile_paths\"/share/fish/vendor_completions.d\"" | |
224 | " $__extra_completionsdir\n" | |
225 | "set __extra_functionsdir" | |
226 | " $__guix_profile_paths\"/etc/fish/functions\"" | |
227 | " $__guix_profile_paths\"/share/fish/vendor_functions.d\"" | |
228 | " $__extra_functionsdir\n" | |
229 | "set __extra_confdir" | |
230 | " $__guix_profile_paths\"/etc/fish/conf.d\"" | |
231 | " $__guix_profile_paths\"/share/fish/vendor_conf.d\"" | |
232 | " $__extra_confdir\n") | |
233 | port) | |
234 | (close-port port)) | |
4bddd12a MP |
235 | #t)) |
236 | ;; Use fish-foreign-env to source /etc/profile. | |
237 | (add-before 'install 'source-etc-profile | |
238 | (lambda* (#:key inputs #:allow-other-keys) | |
239 | (let ((port (open-file "share/__fish_build_paths.fish" "a"))) | |
240 | (display | |
241 | (string-append | |
242 | "\n\n" | |
243 | "# Patched by Guix.\n" | |
244 | "# Use fish-foreign-env to source /etc/profile.\n" | |
245 | "if status is-login\n" | |
246 | " set fish_function_path " | |
247 | (assoc-ref inputs "fish-foreign-env") "/share/fish/functions" | |
248 | " $__fish_datadir/functions\n" | |
249 | " fenv source /etc/profile\n" | |
250 | " set -e fish_function_path\n" | |
251 | "end\n") | |
252 | port) | |
253 | (close-port port)) | |
4f4bca0f | 254 | #t))))) |
618977ae TGR |
255 | (synopsis "The friendly interactive shell") |
256 | (description | |
257 | "Fish (friendly interactive shell) is a shell focused on interactive use, | |
258 | discoverability, and friendliness. Fish has very user-friendly and powerful | |
259 | tab-completion, including descriptions of every completion, completion of | |
260 | strings with wildcards, and many completions for specific commands. It also | |
50786325 TGR |
261 | has extensive and discoverable help. A special @command{help} command gives |
262 | access to all the fish documentation in your web browser. Other features | |
263 | include smart terminal handling based on terminfo, an easy to search history, | |
264 | and syntax highlighting.") | |
618977ae | 265 | (home-page "https://fishshell.com/") |
0f2e8e94 | 266 | (license license:gpl2))) |
9a57d3e6 | 267 | |
1d962fc0 MP |
268 | (define-public fish-foreign-env |
269 | (package | |
270 | (name "fish-foreign-env") | |
271 | (version "0.20190116") | |
272 | (source | |
273 | (origin | |
274 | (method git-fetch) | |
275 | (uri (git-reference | |
b0e7b699 | 276 | (url "https://github.com/oh-my-fish/plugin-foreign-env") |
1d962fc0 MP |
277 | (commit "dddd9213272a0ab848d474d0cbde12ad034e65bc"))) |
278 | (file-name (git-file-name name version)) | |
279 | (sha256 | |
280 | (base32 "00xqlyl3lffc5l0viin1nyp819wf81fncqyz87jx8ljjdhilmgbs")))) | |
281 | (build-system trivial-build-system) | |
282 | (arguments | |
283 | '(#:modules ((guix build utils)) | |
284 | #:builder | |
285 | (begin | |
286 | (use-modules (guix build utils)) | |
287 | (let* ((source (assoc-ref %build-inputs "source")) | |
288 | (out (assoc-ref %outputs "out")) | |
289 | (func-path (string-append out "/share/fish/functions"))) | |
290 | (mkdir-p func-path) | |
291 | (copy-recursively (string-append source "/functions") | |
292 | func-path) | |
293 | ||
294 | ;; Embed absolute paths. | |
295 | (substitute* `(,(string-append func-path "/fenv.fish") | |
296 | ,(string-append func-path "/fenv.apply.fish") | |
297 | ,(string-append func-path "/fenv.main.fish")) | |
298 | (("bash") | |
299 | (string-append (assoc-ref %build-inputs "bash") "/bin/bash")) | |
300 | (("sed") | |
301 | (string-append (assoc-ref %build-inputs "sed") "/bin/sed")) | |
302 | ((" tr ") | |
303 | (string-append " " (assoc-ref %build-inputs "coreutils") | |
304 | "/bin/tr "))))))) | |
305 | (inputs | |
306 | `(("bash" ,bash) | |
307 | ("coreutils" ,coreutils) | |
308 | ("sed" ,sed))) | |
309 | (home-page "https://github.com/oh-my-fish/plugin-foreign-env") | |
310 | (synopsis "Foreign environment interface for fish shell") | |
311 | (description "@code{fish-foreign-env} wraps bash script execution in a way | |
312 | that environment variables that are exported or modified get imported back | |
313 | into fish.") | |
0f2e8e94 | 314 | (license license:expat))) |
1d962fc0 | 315 | |
9a57d3e6 TGR |
316 | (define-public rc |
317 | (package | |
318 | (name "rc") | |
319 | (version "1.7.4") | |
320 | (source (origin | |
321 | (method git-fetch) | |
322 | (uri (git-reference | |
b0e7b699 | 323 | (url "https://github.com/rakitzis/rc") |
487cf5aa | 324 | (commit (string-append "v" version)))) |
9a57d3e6 TGR |
325 | (sha256 |
326 | (base32 | |
487cf5aa TGR |
327 | "0vj1h4pcg13vxsiydmmk87dr2sra9h4gwx0c4q6fjsiw4in78rrd")) |
328 | (file-name (git-file-name name version)))) | |
9a57d3e6 TGR |
329 | (build-system gnu-build-system) |
330 | (arguments | |
331 | `(#:configure-flags | |
332 | '("--with-edit=gnu") | |
333 | #:phases | |
334 | (modify-phases %standard-phases | |
487cf5aa | 335 | (add-before 'bootstrap 'patch-trip.rc |
9a57d3e6 TGR |
336 | (lambda _ |
337 | (substitute* "trip.rc" | |
338 | (("/bin/pwd") (which "pwd")) | |
339 | (("/bin/sh") (which "sh")) | |
340 | (("/bin/rm") (which "rm")) | |
341 | (("/bin\\)") (string-append (dirname (which "rm")) ")"))) | |
342 | #t))))) | |
343 | (inputs `(("readline" ,readline) | |
344 | ("perl" ,perl))) | |
345 | (native-inputs `(("autoconf" ,autoconf) | |
346 | ("automake" ,automake) | |
347 | ("libtool" ,libtool) | |
348 | ("pkg-config" ,pkg-config))) | |
349 | (synopsis "Alternative implementation of the rc shell by Byron Rakitzis") | |
350 | (description | |
351 | "This is a reimplementation by Byron Rakitzis of the Plan 9 shell. It | |
352 | has a small feature set similar to a traditional Bourne shell.") | |
7bf837fd | 353 | (home-page "https://github.com/rakitzis/rc") |
0f2e8e94 | 354 | (license license:zlib))) |
d754347c | 355 | |
e6880040 | 356 | (define-public es |
357 | (package | |
358 | (name "es") | |
359 | (version "0.9.1") | |
360 | (source | |
361 | (origin | |
362 | (method url-fetch) | |
363 | (uri (string-append "https://github.com/wryun/es-shell/releases/" | |
364 | "download/v" version "/es-" version ".tar.gz")) | |
365 | (sha256 | |
366 | (base32 | |
367 | "1fplzxc6lncz2lv2fyr2ig23rgg5j96rm2bbl1rs28mik771zd5h")) | |
368 | (file-name (string-append name "-" version ".tar.gz")))) | |
369 | (build-system gnu-build-system) | |
370 | (arguments | |
371 | `(#:test-target "test" | |
372 | #:phases | |
373 | (modify-phases %standard-phases | |
374 | (add-before 'configure 're-enter-rootdir | |
375 | ;; The tarball has no folder. | |
376 | (lambda _ | |
377 | (chdir "..")))))) | |
378 | (inputs | |
379 | `(("readline" ,readline))) | |
380 | (native-inputs | |
381 | `(("bison" ,bison))) | |
382 | (synopsis "Extensible shell with higher-order functions") | |
383 | (description | |
384 | "Es is an extensible shell. The language was derived from the Plan 9 | |
385 | shell, rc, and was influenced by functional programming languages, such as | |
386 | Scheme, and the Tcl embeddable programming language. This implementation is | |
387 | derived from Byron Rakitzis's public domain implementation of rc, and was | |
388 | written by Paul Haahr and Byron Rakitzis.") | |
389 | (home-page "https://wryun.github.io/es-shell/") | |
0f2e8e94 | 390 | (license license:public-domain))) |
e6880040 | 391 | |
d754347c TGR |
392 | (define-public tcsh |
393 | (package | |
394 | (name "tcsh") | |
bca05d07 | 395 | (version "6.22.03") |
d754347c TGR |
396 | (source (origin |
397 | (method url-fetch) | |
398 | ;; Old tarballs are moved to old/. | |
399 | (uri (list (string-append "ftp://ftp.astron.com/pub/tcsh/" | |
400 | "tcsh-" version ".tar.gz") | |
401 | (string-append "ftp://ftp.astron.com/pub/tcsh/" | |
402 | "old/tcsh-" version ".tar.gz"))) | |
403 | (sha256 | |
404 | (base32 | |
bca05d07 | 405 | "1dv24bsp6faayinvwds092ylk9sb6894rl9ddm87y31a7mjzsb5y")) |
d098aa3e | 406 | (patches (search-patches "tcsh-fix-autotest.patch")) |
d754347c TGR |
407 | (patch-flags '("-p0")))) |
408 | (build-system gnu-build-system) | |
816417f5 | 409 | (native-inputs |
d754347c | 410 | `(("autoconf" ,autoconf) |
816417f5 LF |
411 | ("perl" ,perl))) |
412 | (inputs | |
413 | `(("ncurses" ,ncurses))) | |
d754347c TGR |
414 | (arguments |
415 | `(#:phases | |
c71011f8 | 416 | (modify-phases %standard-phases |
2b9ef6e5 MO |
417 | ,@(if (%current-target-system) |
418 | '((add-before 'configure 'set-cross-cc | |
419 | (lambda _ | |
420 | (substitute* "configure" | |
421 | (("CC_FOR_GETHOST=\"cc\"") | |
422 | "CC_FOR_GETHOST=\"gcc\"")) | |
423 | #t))) | |
424 | '()) | |
c71011f8 LF |
425 | (add-before 'check 'patch-test-scripts |
426 | (lambda _ | |
427 | ;; Take care of pwd | |
428 | (substitute* '("tests/commands.at" "tests/variables.at") | |
429 | (("/bin/pwd") (which "pwd"))) | |
bca05d07 MB |
430 | (substitute* "Makefile" |
431 | ;; Likewise for /usr/bin/env. | |
432 | (("/usr/bin/env") "env") | |
433 | ;; Don't reset the environment (PATH, etc). | |
434 | (("\\$\\(ENVCMD\\) -") "$(ENVCMD)")) | |
435 | ;; This test does not expect the home directory from | |
436 | ;; /etc/passwd to be '/'. | |
437 | (substitute* "tests/subst.at" | |
438 | (("\\$\\(id -un\\)/foo") | |
439 | "$(id -un)//foo")) | |
c71011f8 LF |
440 | ;; The .at files create shell scripts without shebangs. Erk. |
441 | (substitute* "tests/commands.at" | |
442 | (("./output.sh") "/bin/sh output.sh")) | |
443 | (substitute* "tests/syntax.at" | |
444 | (("; other_script.csh") "; /bin/sh other_script.csh")) | |
445 | ;; Now, let's generate the test suite and patch it | |
c22f655f | 446 | (invoke "make" "tests/testsuite") |
d754347c | 447 | |
c71011f8 LF |
448 | ;; This file is ISO-8859-1 encoded. |
449 | (with-fluids ((%default-port-encoding #f)) | |
450 | (substitute* "tests/testsuite" | |
451 | (("/bin/sh") (which "sh")))) | |
452 | #t)) | |
453 | (add-after 'install 'post-install | |
454 | (lambda* (#:key inputs outputs #:allow-other-keys) | |
455 | (let* ((out (assoc-ref %outputs "out")) | |
456 | (bin (string-append out "/bin"))) | |
457 | (with-directory-excursion bin | |
458 | (symlink "tcsh" "csh")) | |
459 | #t)))))) | |
cf566106 | 460 | (home-page "https://www.tcsh.org/") |
d754347c TGR |
461 | (synopsis "Unix shell based on csh") |
462 | (description | |
463 | "Tcsh is an enhanced, but completely compatible version of the Berkeley | |
464 | UNIX C shell (csh). It is a command language interpreter usable both as an | |
465 | interactive login shell and a shell script command processor. It includes a | |
466 | command-line editor, programmable word completion, spelling correction, a | |
467 | history mechanism, job control and a C-like syntax.") | |
0f2e8e94 | 468 | (license license:bsd-4))) |
7ccb874a TGR |
469 | |
470 | (define-public zsh | |
471 | (package | |
472 | (name "zsh") | |
f37d089b | 473 | (version "5.8") |
7ccb874a TGR |
474 | (source (origin |
475 | (method url-fetch) | |
476 | (uri (list (string-append | |
4dbef671 | 477 | "https://www.zsh.org/pub/zsh-" version |
379848ed | 478 | ".tar.xz") |
7ccb874a | 479 | (string-append |
4dbef671 | 480 | "https://www.zsh.org/pub/old/zsh-" version |
379848ed | 481 | ".tar.xz"))) |
7ccb874a TGR |
482 | (sha256 |
483 | (base32 | |
f37d089b | 484 | "09yyaadq738zlrnlh1hd3ycj1mv3q5hh4xl1ank70mjnqm6bbi6w")))) |
7ccb874a | 485 | (build-system gnu-build-system) |
4f6e6c04 BW |
486 | (arguments `(#:configure-flags |
487 | `("--with-tcsetpgrp" | |
488 | "--enable-pcre" | |
489 | "--enable-maildir-support" | |
490 | ;; share/zsh/site-functions isn't populated | |
491 | "--disable-site-fndir" | |
492 | ,(string-append | |
493 | "--enable-additional-fpath=" | |
494 | "/usr/local/share/zsh/site-functions," ; for foreign OS | |
495 | "/run/current-system/profile/share/zsh/site-functions")) | |
ddee9a6e TGR |
496 | #:phases |
497 | (modify-phases %standard-phases | |
498 | (add-before 'configure 'fix-sh | |
499 | (lambda _ | |
500 | ;; Some of the files are ISO-8859-1 encoded. | |
501 | (with-fluids ((%default-port-encoding #f)) | |
502 | (substitute* | |
503 | '("configure" | |
504 | "configure.ac" | |
505 | "Src/exec.c" | |
506 | "Src/mkmakemod.sh" | |
507 | "Config/installfns.sh" | |
508 | "Config/defs.mk.in" | |
509 | "Test/E01options.ztst" | |
510 | "Test/A05execution.ztst" | |
511 | "Test/A01grammar.ztst" | |
512 | "Test/A06assign.ztst" | |
513 | "Test/B02typeset.ztst" | |
514 | "Completion/Unix/Command/_init_d" | |
515 | "Util/preconfig") | |
4440e40c LF |
516 | (("/bin/sh") (which "sh")))))) |
517 | (add-before 'check 'patch-test | |
518 | (lambda _ | |
519 | ;; In Zsh, `command -p` searches a predefined set of | |
520 | ;; paths that don't exist in the build environment. See | |
521 | ;; the assignment of 'path' in Src/init.c' | |
522 | (substitute* "Test/A01grammar.ztst" | |
523 | (("command -pv") "command -v") | |
524 | (("command -p") "command ") | |
525 | (("'command' -p") "'command' ")) | |
526 | #t))))) | |
7ccb874a TGR |
527 | (native-inputs `(("autoconf" ,autoconf))) |
528 | (inputs `(("ncurses" ,ncurses) | |
529 | ("pcre" ,pcre) | |
530 | ("perl" ,perl))) | |
531 | (synopsis "Powerful shell for interactive use and scripting") | |
532 | (description "The Z shell (zsh) is a Unix shell that can be used | |
533 | as an interactive login shell and as a powerful command interpreter | |
534 | for shell scripting. Zsh can be thought of as an extended Bourne shell | |
535 | with a large number of improvements, including some features of bash, | |
536 | ksh, and tcsh.") | |
4dbef671 | 537 | (home-page "https://www.zsh.org/") |
7ccb874a TGR |
538 | |
539 | ;; The whole thing is under an MIT/X11-style license, but there's one | |
540 | ;; command, 'Completion/Unix/Command/_darcs', which is under GPLv2+. | |
0f2e8e94 | 541 | (license license:gpl2+))) |
1d515855 SR |
542 | |
543 | (define-public xonsh | |
544 | (package | |
545 | (name "xonsh") | |
99146ab8 | 546 | (version "0.9.27") |
1d515855 SR |
547 | (source |
548 | (origin | |
549 | (method url-fetch) | |
550 | (uri (pypi-uri "xonsh" version)) | |
551 | (sha256 | |
99146ab8 | 552 | (base32 "1maz7yvb5py91n699yqsna81x2i25mvrqkrcn7h7870nxd87ral2")) |
cfb7e269 DM |
553 | (modules '((guix build utils))) |
554 | (snippet | |
555 | `(begin | |
72faca2c | 556 | ;; Delete bundled PLY. |
cfb7e269 | 557 | (delete-file-recursively "xonsh/ply") |
72faca2c TGR |
558 | (substitute* "setup.py" |
559 | (("\"xonsh\\.ply\\.ply\",") "")) | |
560 | ;; Use our properly packaged PLY instead. | |
561 | (substitute* (list "setup.py" | |
562 | "tests/test_lexer.py" | |
563 | "xonsh/__amalgam__.py" | |
564 | "xonsh/lexer.py" | |
565 | "xonsh/parsers/base.py" | |
566 | "xonsh/xonfig.py") | |
567 | (("from xonsh\\.ply\\.(.*) import" _ module) | |
568 | (format #f "from ~a import" module)) | |
569 | (("from xonsh\\.ply import") "import")) | |
cfb7e269 | 570 | #t)))) |
1d515855 | 571 | (build-system python-build-system) |
792e6079 LF |
572 | (arguments |
573 | '(;; TODO Try running run the test suite. | |
574 | ;; See 'requirements-tests.txt' in the source distribution for more | |
575 | ;; information. | |
576 | #:tests? #f)) | |
cfb7e269 DM |
577 | (inputs |
578 | `(("python-ply" ,python-ply))) | |
9a50f47c | 579 | (home-page "https://xon.sh/") |
1d515855 SR |
580 | (synopsis "Python-ish shell") |
581 | (description | |
582 | "Xonsh is a Python-ish, BASHwards-looking shell language and command | |
e813f395 KK |
583 | prompt. The language is a superset of Python 3.4+ with additional shell |
584 | primitives that you are used to from Bash and IPython. It works on all major | |
585 | systems including Linux, Mac OSX, and Windows. Xonsh is meant for the daily | |
1d515855 | 586 | use of experts and novices alike.") |
0f2e8e94 | 587 | (license license:bsd-2))) |
52ddeaa0 | 588 | |
589 | (define-public scsh | |
590 | (let ((commit "114432435e4eadd54334df6b37fcae505079b49f") | |
591 | (revision "1")) | |
592 | (package | |
593 | (name "scsh") | |
594 | (version (string-append "0.0.0-" revision "." (string-take commit 7))) | |
595 | (source | |
596 | (origin | |
597 | (method git-fetch) | |
598 | (uri (git-reference | |
599 | (url "https://github.com/scheme/scsh") | |
600 | (commit commit))) | |
601 | (file-name (string-append name "-" version "-checkout")) | |
602 | (sha256 | |
603 | (base32 | |
604 | "1ghk08akiz7hff1pndi8rmgamgcrn2mv9asbss9l79d3c2iaav3q")))) | |
605 | (build-system gnu-build-system) | |
606 | (arguments | |
607 | `(#:test-target "test" | |
608 | #:phases | |
609 | (modify-phases %standard-phases | |
610 | (add-before 'configure 'replace-rx | |
611 | (lambda* (#:key inputs #:allow-other-keys) | |
612 | (let* ((rx (assoc-ref inputs "scheme48-rx")) | |
613 | (rxpath (string-append rx "/share/scheme48-" | |
614 | ,(package-version scheme48) | |
615 | "/rx"))) | |
616 | (delete-file-recursively "rx") | |
617 | (symlink rxpath "rx")) | |
bc74e9e4 | 618 | #t))))) |
52ddeaa0 | 619 | (inputs |
620 | `(("scheme48" ,scheme48) | |
621 | ("scheme48-rx" ,scheme48-rx))) | |
622 | (native-inputs | |
623 | `(("autoconf" ,autoconf) | |
624 | ("automake" ,automake))) | |
625 | (home-page "https://github.com/scheme/scsh") | |
626 | (synopsis "Unix shell embedded in Scheme") | |
627 | (description | |
628 | "Scsh is a Unix shell embedded in Scheme. Scsh has two main | |
629 | components: a process notation for running programs and setting up pipelines | |
630 | and redirections, and a complete syscall library for low-level access to the | |
631 | operating system.") | |
0f2e8e94 | 632 | (license license:bsd-3)))) |
cc5a76a7 | 633 | |
17cf788f | 634 | (define-public linenoise |
05af41a1 | 635 | (let ((commit "2105ce445821381cf1bca87b6d386d4ea88ee20d") |
636 | (revision "1")) | |
637 | (package | |
638 | (name "linenoise") | |
639 | (version (string-append "1.0-" revision "." (string-take commit 7))) | |
640 | (source | |
641 | (origin | |
642 | (method git-fetch) | |
643 | (uri (git-reference | |
644 | (url "https://github.com/antirez/linenoise") | |
645 | (commit commit))) | |
646 | (file-name (string-append name "-" version "-checkout")) | |
647 | (sha256 | |
648 | (base32 | |
649 | "1z16qwix8z6a40fskdgxsibkqgdrp4q6ncp4n6hnv4r9iihy2d8r")))) | |
650 | (build-system gnu-build-system) | |
651 | (arguments | |
39f8ef2d TGR |
652 | `(#:tests? #f ; no tests are included |
653 | #:make-flags | |
654 | (list ,(string-append "CC=" (cc-for-target))) | |
05af41a1 | 655 | #:phases |
656 | (modify-phases %standard-phases | |
657 | (delete 'configure) | |
658 | (replace 'install | |
659 | (lambda* (#:key outputs #:allow-other-keys) | |
660 | ;; At the moment there is no 'make install' in upstream. | |
661 | (let* ((out (assoc-ref outputs "out"))) | |
662 | (install-file "linenoise.h" | |
663 | (string-append out "/include/linenoise")) | |
664 | (install-file "linenoise.c" | |
665 | (string-append out "/include/linenoise")) | |
666 | #t)))))) | |
667 | (home-page "https://github.com/antirez/linenoise") | |
668 | (synopsis "Minimal zero-config readline replacement") | |
669 | (description | |
670 | "Linenoise is a minimal, zero-config, readline replacement. | |
17cf788f | 671 | Its features include: |
672 | ||
673 | @enumerate | |
674 | @item Single and multi line editing mode with the usual key bindings | |
675 | @item History handling | |
676 | @item Completion | |
677 | @item Hints (suggestions at the right of the prompt as you type) | |
678 | @item A subset of VT100 escapes, ANSI.SYS compatible | |
679 | @end enumerate\n") | |
0f2e8e94 | 680 | (license license:bsd-2)))) |
17cf788f | 681 | |
9a68fb6c | 682 | (define-public s-shell |
e536b1d3 | 683 | (let ((commit "da2e5c20c0c5f477ec3426dc2584889a789b1659") |
684 | (revision "2")) | |
0e4591bb | 685 | (package |
9a68fb6c | 686 | (name "s-shell") |
e536b1d3 | 687 | (version (git-version "0.0.0" revision commit)) |
0e4591bb | 688 | (source |
689 | (origin | |
690 | (method git-fetch) | |
691 | (uri (git-reference | |
692 | (url "https://github.com/rain-1/s") | |
693 | (commit commit))) | |
694 | (file-name (string-append name "-" version "-checkout")) | |
695 | (sha256 | |
696 | (base32 | |
e536b1d3 | 697 | "0qiny71ww5nhzy4mnc8652hn0mlxyb67h333gbdxp4j4qxsi13q4")))) |
0e4591bb | 698 | (build-system gnu-build-system) |
699 | (inputs | |
700 | `(("linenoise" ,linenoise))) | |
701 | (arguments | |
702 | `(#:tests? #f | |
e536b1d3 | 703 | #:make-flags (list "CC=gcc" |
704 | (string-append "PREFIX=" | |
705 | (assoc-ref %outputs "out"))) | |
0e4591bb | 706 | #:phases |
707 | (modify-phases %standard-phases | |
708 | (add-after 'unpack 'install-directory-fix | |
709 | (lambda* (#:key outputs #:allow-other-keys) | |
710 | (let* ((out (assoc-ref outputs "out")) | |
711 | (bin (string-append out "/bin"))) | |
712 | (substitute* "Makefile" | |
713 | (("out") bin)) | |
714 | #t))) | |
715 | (add-after 'install 'manpage | |
716 | (lambda* (#:key outputs #:allow-other-keys) | |
717 | (install-file "s.1" (string-append (assoc-ref outputs "out") | |
718 | "/share/man/man1")))) | |
719 | (replace 'configure | |
720 | (lambda* (#:key inputs outputs #:allow-other-keys) | |
721 | ;; At this point linenoise is meant to be included, | |
722 | ;; so we have to really copy it into the working directory | |
723 | ;; of s. | |
724 | (let* ((linenoise (assoc-ref inputs "linenoise")) | |
725 | (noisepath (string-append linenoise "/include/linenoise")) | |
726 | (out (assoc-ref outputs "out"))) | |
727 | (copy-recursively noisepath "linenoise") | |
728 | (substitute* "s.c" | |
729 | (("/bin/s") (string-append out "/bin/s"))) | |
730 | #t)))))) | |
731 | (home-page "https://github.com/rain-1/s") | |
732 | (synopsis "Extremely minimal shell with the simplest syntax possible") | |
733 | (description | |
7230f6d5 TGR |
734 | "S is a new shell that aims to be extremely simple. It does not |
735 | implement the POSIX shell standard. | |
736 | ||
0e4591bb | 737 | There are no globs or \"splatting\" where a variable $FOO turns into multiple |
738 | command line arguments. One token stays one token forever. | |
739 | This is a \"no surprises\" straightforward approach. | |
740 | ||
741 | There are no redirection operators > in the shell language, they are added as | |
742 | extra programs. > is just another unix command, < is essentially cat(1). | |
743 | A @code{andglob} program is also provided along with s.") | |
0f2e8e94 | 744 | (license license:bsd-3)))) |
0e4591bb | 745 | |
7e3c977d | 746 | (define-public oksh |
747 | (package | |
748 | (name "oksh") | |
749 | (version "0.5.9") | |
750 | (source | |
751 | (origin | |
752 | (method url-fetch) | |
753 | (uri (string-append "https://connochaetos.org/oksh/oksh-" | |
754 | version ".tar.gz")) | |
755 | (sha256 | |
756 | (base32 | |
757 | "0ln9yf6pxngsviqszv8klnnvn8vcpplvj1njdn8xr2y8frkbw8r3")))) | |
758 | (build-system gnu-build-system) | |
759 | (arguments | |
760 | `(; The test files are not part of the distributed tarball. | |
761 | #:tests? #f)) | |
762 | (home-page "https://connochaetos.org/oksh") | |
763 | (synopsis "Port of OpenBSD Korn Shell") | |
764 | (description | |
765 | "Oksh is a port of the OpenBSD Korn Shell. | |
766 | The OpenBSD Korn Shell is a cleaned up and enhanced ksh.") | |
0f2e8e94 | 767 | (license license:gpl3+))) |
7e3c977d | 768 | |
cc5a76a7 | 769 | (define-public loksh |
770 | (package | |
771 | (name "loksh") | |
efe8dc71 | 772 | (version "6.9") |
cc5a76a7 | 773 | (source |
774 | (origin | |
e5d75770 TGR |
775 | (method git-fetch) |
776 | (uri (git-reference | |
b0e7b699 | 777 | (url "https://github.com/dimkr/loksh") |
efe8dc71 TGR |
778 | (commit version) |
779 | ;; Include the ‘lolibc’ submodule, a static compatibility library | |
780 | ;; created for and currently used only by loksh. | |
781 | (recursive? #t))) | |
e5d75770 | 782 | (file-name (git-file-name name version)) |
cc5a76a7 | 783 | (sha256 |
efe8dc71 TGR |
784 | (base32 "0x33plxqhh5202hgqidgccz5hpg8d2q71ylgnm437g60mfi9z0px")))) |
785 | (build-system meson-build-system) | |
cc5a76a7 | 786 | (inputs |
efe8dc71 | 787 | `(("ncurses" ,ncurses))) |
cc5a76a7 | 788 | (native-inputs |
789 | `(("pkg-config" ,pkg-config))) | |
790 | (arguments | |
efe8dc71 | 791 | `(#:tests? #f)) ; no tests included |
cc5a76a7 | 792 | (home-page "https://github.com/dimkr/loksh") |
793 | (synopsis "Korn Shell from OpenBSD") | |
794 | (description | |
795 | "loksh is a Linux port of OpenBSD's @command{ksh}. It is a small, | |
796 | interactive POSIX shell targeted at resource-constrained systems.") | |
797 | ;; The file 'LEGAL' says it is the public domain, and the 2 | |
798 | ;; exceptions which are listed are not included in this port. | |
0f2e8e94 | 799 | (license license:public-domain))) |
0daa1d64 AI |
800 | |
801 | (define-public mksh | |
802 | (package | |
803 | (name "mksh") | |
a4dd5955 | 804 | (version "58") |
0daa1d64 AI |
805 | (source |
806 | (origin | |
807 | (method url-fetch) | |
808 | (uri (string-append "https://www.mirbsd.org/MirOS/dist/mir/mksh/mksh-R" | |
809 | version ".tgz")) | |
810 | (sha256 | |
a4dd5955 | 811 | (base32 "1337zjvzh14yncg9igdry904a3ns52l8rnm1kcq262w7f5xyp2v0")))) |
0daa1d64 AI |
812 | (build-system gnu-build-system) |
813 | (arguments | |
e7dfbae8 | 814 | `(#:tests? #f ; tests require access to /dev/tty |
0daa1d64 AI |
815 | #:phases |
816 | (modify-phases %standard-phases | |
817 | (delete 'configure) | |
818 | (replace 'build | |
819 | (lambda _ | |
820 | (setenv "CC" "gcc") | |
2385ecb2 | 821 | (invoke (which "sh") "Build.sh"))) |
0daa1d64 AI |
822 | (replace 'install |
823 | (lambda* (#:key outputs #:allow-other-keys) | |
824 | (let* ((out (assoc-ref outputs "out")) | |
825 | (bin (string-append out "/bin")) | |
826 | (man (string-append out "/share/man/man1"))) | |
827 | (install-file "mksh" bin) | |
828 | (with-directory-excursion bin | |
829 | (symlink "mksh" "ksh")) | |
2385ecb2 TGR |
830 | (install-file "mksh.1" man) |
831 | #t)))))) | |
0daa1d64 AI |
832 | (home-page "https://www.mirbsd.org/mksh.htm") |
833 | (synopsis "Korn Shell from MirBSD") | |
834 | (description "mksh is an actively developed free implementation of the | |
835 | Korn Shell programming language and a successor to the Public Domain Korn | |
836 | Shell (pdksh).") | |
0f2e8e94 NG |
837 | (license (list license:miros |
838 | license:isc)))) ; strlcpy.c | |
18d9d22a | 839 | |
5225626f | 840 | (define-public oil |
18d9d22a | 841 | (package |
5225626f | 842 | (name "oil") |
eed2c484 | 843 | (version "0.8.10") |
bd6eed4c RPG |
844 | (source |
845 | (origin | |
846 | (method url-fetch) | |
847 | (uri (string-append "https://www.oilshell.org/download/oil-" | |
848 | version ".tar.gz")) | |
849 | (sha256 | |
eed2c484 | 850 | (base32 "03ixqspizvgj869b524c33pg9c6h64g04r4pjkxfp1fxvgca70db")))) |
18d9d22a LF |
851 | (build-system gnu-build-system) |
852 | (arguments | |
bd6eed4c | 853 | `(#:strip-binaries? #f ; strip breaks the binary |
18d9d22a LF |
854 | #:phases |
855 | (modify-phases %standard-phases | |
18d9d22a LF |
856 | (replace 'configure |
857 | (lambda* (#:key outputs #:allow-other-keys) | |
858 | (let ((out (assoc-ref outputs "out"))) | |
ae144ec7 | 859 | (setenv "CC" ,(cc-for-target)) |
bd6eed4c RPG |
860 | (substitute* "configure" |
861 | ((" cc ") " $CC ")) | |
18d9d22a LF |
862 | (invoke "./configure" (string-append "--prefix=" out) |
863 | "--with-readline")))) | |
bd6eed4c RPG |
864 | (replace 'check |
865 | ;; The tests are not distributed in the tarballs but upstream | |
866 | ;; recommends running this smoke test. | |
02406d5c | 867 | ;; https://github.com/oilshell/oil/blob/release/0.8.0/INSTALL.txt#L38-L48 |
18d9d22a | 868 | (lambda _ |
bd6eed4c RPG |
869 | (let* ((oil "_bin/oil.ovm")) |
870 | (invoke/quiet oil "osh" "-c" "echo hi") | |
dd9e77f8 FG |
871 | (invoke/quiet oil "osh" "-n" "configure") |
872 | #t)))))) | |
18d9d22a LF |
873 | (inputs |
874 | `(("readline" ,readline))) | |
bd6eed4c RPG |
875 | (home-page "https://www.oilshell.org") |
876 | (synopsis "Programming language and Bash-compatible Unix shell") | |
877 | (description "Oil is a programming language with automatic translation for | |
878 | Bash. It includes osh, a Unix/POSIX shell that runs unmodified Bash | |
879 | scripts.") | |
0f2e8e94 NG |
880 | (license (list license:psfl ; tarball includes python2.7 |
881 | license:asl2.0)))) | |
2ccc9d69 | 882 | |
5225626f RP |
883 | (define-public oil-shell |
884 | (deprecated-package "oil-shell" oil)) | |
885 | ||
2ccc9d69 TS |
886 | (define-public gash |
887 | (package | |
888 | (name "gash") | |
d0a26d0b | 889 | (version "0.2.0") |
2ccc9d69 TS |
890 | (source |
891 | (origin (method url-fetch) | |
892 | (uri (string-append "mirror://savannah/gash/gash-" | |
893 | version ".tar.gz")) | |
894 | (sha256 | |
895 | (base32 | |
d0a26d0b | 896 | "13m0yz5h9nj3x40mr6wr5xcpq1lscndfwcicw3skrz801025hhgf")) |
af74c063 LC |
897 | (modules '((guix build utils))) |
898 | (snippet | |
899 | '(begin | |
900 | ;; Allow builds with Guile 3.0. | |
901 | (substitute* "configure" | |
902 | (("search=\"2\\.2 2\\.0\"") | |
903 | "search=\"3.0 2.2 2.0\"")) | |
904 | #t)))) | |
2ccc9d69 TS |
905 | (build-system gnu-build-system) |
906 | (native-inputs | |
907 | `(("pkg-config" ,pkg-config))) | |
908 | (inputs | |
af74c063 | 909 | `(("guile" ,guile-3.0))) |
d0a26d0b JN |
910 | (arguments |
911 | '(#:make-flags '("XFAIL_TESTS=tests/redirects.org"))) | |
2ccc9d69 TS |
912 | (home-page "https://savannah.nongnu.org/projects/gash/") |
913 | (synopsis "POSIX-compatible shell written in Guile Scheme") | |
914 | (description "Gash is a POSIX-compatible shell written in Guile | |
915 | Scheme. It provides both the shell interface, as well as a Guile | |
916 | library for parsing shell scripts. Gash is designed to bootstrap Bash | |
917 | as part of the Guix bootstrap process.") | |
0f2e8e94 | 918 | (license license:gpl3+))) |
ee8d86ff JN |
919 | |
920 | (define-public gash-utils | |
921 | (package | |
922 | (name "gash-utils") | |
923 | (version "0.1.0") | |
924 | (source (origin | |
925 | (method url-fetch) | |
926 | (uri (string-append "mirror://savannah/gash/gash-utils-" | |
927 | version ".tar.gz")) | |
928 | (sha256 | |
929 | (base32 | |
af74c063 LC |
930 | "0ib2p52qmbac5n0s5bys4fiwim461ps546976l1n7pwbs0avh7fk")) |
931 | (patches (search-patches "gash-utils-ls-test.patch")) | |
932 | (modules '((guix build utils))) | |
933 | (snippet | |
934 | '(begin | |
935 | ;; Allow builds with Guile 3.0. | |
936 | (substitute* "configure" | |
937 | (("search=\"2\\.2 2\\.0\"") | |
938 | "search=\"3.0 2.2 2.0\"")) | |
939 | #t)))) | |
ee8d86ff JN |
940 | (build-system gnu-build-system) |
941 | (native-inputs | |
942 | `(("pkg-config" ,pkg-config))) | |
943 | (inputs | |
af74c063 | 944 | `(("guile" ,guile-3.0) |
ee8d86ff JN |
945 | ("gash" ,gash))) |
946 | (home-page "https://savannah.nongnu.org/projects/gash/") | |
947 | (synopsis "Core POSIX utilities written in Guile Scheme") | |
948 | (description "Gash-Utils provides Scheme implementations of many | |
949 | common POSIX utilities (there are about 40 of them, ranging in | |
950 | complexity from @command{false} to @command{awk}). The utilities are | |
951 | designed to be capable of bootstrapping their standard GNU counterparts. | |
952 | Underpinning these utilities are many Scheme interfaces for manipulating | |
953 | files and text.") | |
0f2e8e94 | 954 | (license license:gpl3+))) |
d98205b4 | 955 | |
c63db588 | 956 | (define-public nushell |
b95a9ff8 NG |
957 | (package |
958 | (name "nushell") | |
67554089 | 959 | (version "0.31.0") |
b95a9ff8 NG |
960 | (source |
961 | (origin | |
962 | (method git-fetch) | |
963 | (uri (git-reference | |
964 | (url "https://github.com/nushell/nushell.git") | |
965 | (commit version))) | |
966 | (file-name (git-file-name name version)) | |
967 | (sha256 | |
67554089 | 968 | (base32 "1dpbc6m0pxizkh4r02nw1i1fx9v43llylqnd28naqkklwc15pb2w")))) |
b95a9ff8 NG |
969 | (build-system cargo-build-system) |
970 | (arguments | |
bc0a78c0 | 971 | `(#:tests? #false ;missing files |
b95a9ff8 NG |
972 | #:features '("extra") |
973 | #:cargo-inputs | |
974 | (("rust-clap" ,rust-clap-2) | |
975 | ("rust-ctrlc" ,rust-ctrlc-3) | |
976 | ("rust-futures" ,rust-futures-0.3) | |
977 | ("rust-itertools" ,rust-itertools-0.10) | |
978 | ("rust-log" ,rust-log-0.4) | |
67554089 NG |
979 | ("rust-nu-cli" ,rust-nu-cli-0.31) |
980 | ("rust-nu-command" ,rust-nu-command-0.31) | |
981 | ("rust-nu-data" ,rust-nu-data-0.31) | |
982 | ("rust-nu-engine" ,rust-nu-engine-0.31) | |
983 | ("rust-nu-errors" ,rust-nu-errors-0.31) | |
984 | ("rust-nu-parser" ,rust-nu-parser-0.31) | |
985 | ("rust-nu-plugin" ,rust-nu-plugin-0.31) | |
986 | ("rust-nu-protocol" ,rust-nu-protocol-0.31) | |
987 | ("rust-nu-source" ,rust-nu-source-0.31) | |
988 | ("rust-nu-value-ext" ,rust-nu-value-ext-0.31) | |
989 | ("rust-nu-plugin-binaryview" ,rust-nu-plugin-binaryview-0.31) | |
990 | ("rust-nu-plugin-chart" ,rust-nu-plugin-chart-0.31) | |
991 | ("rust-nu-plugin-fetch" ,rust-nu-plugin-fetch-0.31) | |
992 | ("rust-nu-plugin-from-bson" ,rust-nu-plugin-from-bson-0.31) | |
993 | ("rust-nu-plugin-from-sqlite" ,rust-nu-plugin-from-sqlite-0.31) | |
994 | ("rust-nu-plugin-inc" ,rust-nu-plugin-inc-0.31) | |
995 | ("rust-nu-plugin-match" ,rust-nu-plugin-match-0.31) | |
996 | ("rust-nu-plugin-post" ,rust-nu-plugin-post-0.31) | |
997 | ("rust-nu-plugin-ps" ,rust-nu-plugin-ps-0.31) | |
998 | ("rust-nu-plugin-query-json" ,rust-nu-plugin-query-json-0.31) | |
999 | ("rust-nu-plugin-s3" ,rust-nu-plugin-s3-0.31) | |
1000 | ("rust-nu-plugin-selector" ,rust-nu-plugin-selector-0.31) | |
1001 | ("rust-nu-plugin-start" ,rust-nu-plugin-start-0.31) | |
1002 | ("rust-nu-plugin-sys" ,rust-nu-plugin-sys-0.31) | |
1003 | ("rust-nu-plugin-textview" ,rust-nu-plugin-textview-0.31) | |
1004 | ("rust-nu-plugin-to-bson" ,rust-nu-plugin-to-bson-0.31) | |
1005 | ("rust-nu-plugin-to-sqlite" ,rust-nu-plugin-to-sqlite-0.31) | |
1006 | ("rust-nu-plugin-tree" ,rust-nu-plugin-tree-0.31) | |
1007 | ("rust-nu-plugin-xpath" ,rust-nu-plugin-xpath-0.31) | |
b95a9ff8 NG |
1008 | ("rust-pretty-env-logger" ,rust-pretty-env-logger-0.4)) |
1009 | #:cargo-development-inputs | |
1010 | (("rust-dunce" ,rust-dunce-1) | |
39f69aff | 1011 | ("rust-hamcrest2" ,rust-hamcrest2-0.3) |
67554089 | 1012 | ("rust-nu-test-support" ,rust-nu-test-support-0.31) |
f90bbba4 | 1013 | ("rust-serial-test" ,rust-serial-test-0.5)))) |
b95a9ff8 NG |
1014 | (native-inputs |
1015 | `(("pkg-config" ,pkg-config) | |
1016 | ("python" ,python))) | |
1017 | (inputs | |
1018 | `(("curl" ,curl) | |
1019 | ("libgit2" ,libgit2) | |
1020 | ("libx11" ,libx11) | |
1021 | ("libxcb" ,libxcb) | |
1022 | ("openssl" ,openssl) | |
1023 | ("zlib" ,zlib))) | |
1024 | (home-page "https://www.nushell.sh") | |
1025 | (synopsis "Shell that understands the structure of the data") | |
1026 | (description | |
1027 | "Nu draws inspiration from projects like PowerShell, functional | |
c63db588 NG |
1028 | programming languages, and modern CLI tools. Rather than thinking of files |
1029 | and services as raw streams of text, Nu looks at each input as something with | |
1030 | structure. For example, when you list the contents of a directory, what you | |
1031 | get back is a table of rows, where each row represents an item in that | |
1032 | directory. These values can be piped through a series of steps, in a series | |
1033 | of commands called a ``pipeline''.") | |
b95a9ff8 | 1034 | (license license:expat))) |
c63db588 | 1035 | |
67554089 | 1036 | (define-public rust-nu-ansi-term-0.31 |
a5a5ec56 NG |
1037 | (package |
1038 | (name "rust-nu-ansi-term") | |
67554089 | 1039 | (version "0.31.0") |
a5a5ec56 NG |
1040 | (source |
1041 | (origin | |
1042 | (method url-fetch) | |
1043 | (uri (crate-uri "nu-ansi-term" version)) | |
1044 | (file-name (string-append name "-" version ".tar.gz")) | |
1045 | (sha256 | |
67554089 | 1046 | (base32 "193nwg7j3p7mw2282vsx8ylfxg0wyydrgxd78ph3rqfqi83468n6")))) |
a5a5ec56 NG |
1047 | (build-system cargo-build-system) |
1048 | (arguments | |
1049 | `(#:skip-build? #t | |
1050 | #:cargo-inputs | |
1051 | (("rust-serde" ,rust-serde-1) | |
1052 | ("rust-winapi" ,rust-winapi-0.3)))) | |
1053 | (home-page "https://www.nushell.sh") | |
1054 | (synopsis "Library for ANSI terminal colors and styles (bold, underline)") | |
1055 | (description | |
1056 | "This package is a library for ANSI terminal colors and styles (bold, | |
1057 | underline).") | |
1058 | (license license:expat))) | |
1059 | ||
67554089 | 1060 | (define-public rust-nu-ansi-term-0.29 |
eab45f7c | 1061 | (package |
67554089 NG |
1062 | (inherit rust-nu-ansi-term-0.31) |
1063 | (name "rust-nu-ansi-term") | |
39f69aff | 1064 | (version "0.29.0") |
67554089 NG |
1065 | (source |
1066 | (origin | |
1067 | (method url-fetch) | |
1068 | (uri (crate-uri "nu-ansi-term" version)) | |
1069 | (file-name (string-append name "-" version ".tar.gz")) | |
1070 | (sha256 | |
1071 | (base32 "0zlcma4kg6rsfp5sgfp3yy717bdrn9nq32rdi2nabpwg3qa9mmkb")))))) | |
1072 | ||
1073 | (define-public rust-nu-cli-0.31 | |
1074 | (package | |
1075 | (name "rust-nu-cli") | |
1076 | (version "0.31.0") | |
eab45f7c NG |
1077 | (source |
1078 | (origin | |
1079 | (method url-fetch) | |
1080 | (uri (crate-uri "nu-cli" version)) | |
1081 | (file-name (string-append name "-" version ".tar.gz")) | |
1082 | (sha256 | |
67554089 | 1083 | (base32 "1kg68san8p3nnhhfsld21hv5s6dx1kadlsc71l661p4f8pjcqp3r")))) |
eab45f7c NG |
1084 | (build-system cargo-build-system) |
1085 | (arguments | |
1086 | `(#:skip-build? #t | |
1087 | #:cargo-inputs | |
a5a5ec56 | 1088 | (("rust-arboard" ,rust-arboard-1) |
67554089 | 1089 | ("rust-async-recursion" ,rust-async-recursion-0.3) |
eab45f7c NG |
1090 | ("rust-async-trait" ,rust-async-trait-0.1) |
1091 | ("rust-base64" ,rust-base64-0.13) | |
1092 | ("rust-bigdecimal" ,rust-bigdecimal-0.2) | |
1093 | ("rust-byte-unit" ,rust-byte-unit-4) | |
b95a9ff8 NG |
1094 | ("rust-bytes" ,rust-bytes-1) |
1095 | ("rust-calamine" ,rust-calamine-0.17) | |
eab45f7c NG |
1096 | ("rust-chrono" ,rust-chrono-0.4) |
1097 | ("rust-chrono-tz" ,rust-chrono-tz-0.5) | |
1098 | ("rust-clap" ,rust-clap-2) | |
67554089 | 1099 | ("rust-codespan-reporting" ,rust-codespan-reporting-0.11) |
eab45f7c NG |
1100 | ("rust-csv" ,rust-csv-1) |
1101 | ("rust-ctrlc" ,rust-ctrlc-3) | |
1102 | ("rust-derive-new" ,rust-derive-new-0.5) | |
67554089 | 1103 | ("rust-directories-next" ,rust-directories-next-2) |
eab45f7c NG |
1104 | ("rust-dirs-next" ,rust-dirs-next-2) |
1105 | ("rust-dtparse" ,rust-dtparse-1) | |
1106 | ("rust-dunce" ,rust-dunce-1) | |
1107 | ("rust-eml-parser" ,rust-eml-parser-0.1) | |
1108 | ("rust-encoding-rs" ,rust-encoding-rs-0.8) | |
1109 | ("rust-filesize" ,rust-filesize-0.2) | |
1110 | ("rust-fs-extra" ,rust-fs-extra-1) | |
1111 | ("rust-futures" ,rust-futures-0.3) | |
1112 | ("rust-futures-util" ,rust-futures-util-0.3) | |
1113 | ("rust-futures-codec" ,rust-futures-codec-0.4) | |
1114 | ("rust-getset" ,rust-getset-0.1) | |
1115 | ("rust-glob" ,rust-glob-0.3) | |
1116 | ("rust-htmlescape" ,rust-htmlescape-0.3) | |
1117 | ("rust-ical" ,rust-ical-0.7) | |
eab45f7c NG |
1118 | ("rust-indexmap" ,rust-indexmap-1) |
1119 | ("rust-inflector" ,rust-inflector-0.11) | |
1120 | ("rust-itertools" ,rust-itertools-0.10) | |
1121 | ("rust-lazy-static" ,rust-lazy-static-1) | |
1122 | ("rust-log" ,rust-log-0.4) | |
1123 | ("rust-meval" ,rust-meval-0.2) | |
67554089 NG |
1124 | ("rust-nu-ansi-term" ,rust-nu-ansi-term-0.31) |
1125 | ("rust-nu-command" ,rust-nu-command-0.31) | |
1126 | ("rust-nu-data" ,rust-nu-data-0.31) | |
1127 | ("rust-nu-engine" ,rust-nu-engine-0.31) | |
1128 | ("rust-nu-errors" ,rust-nu-errors-0.31) | |
1129 | ("rust-nu-json" ,rust-nu-json-0.31) | |
1130 | ("rust-nu-parser" ,rust-nu-parser-0.31) | |
1131 | ("rust-nu-plugin" ,rust-nu-plugin-0.31) | |
1132 | ("rust-nu-pretty-hex" ,rust-nu-pretty-hex-0.31) | |
1133 | ("rust-nu-protocol" ,rust-nu-protocol-0.31) | |
1134 | ("rust-nu-source" ,rust-nu-source-0.31) | |
1135 | ("rust-nu-stream" ,rust-nu-stream-0.31) | |
1136 | ("rust-nu-table" ,rust-nu-table-0.31) | |
1137 | ("rust-nu-test-support" ,rust-nu-test-support-0.31) | |
1138 | ("rust-nu-value-ext" ,rust-nu-value-ext-0.31) | |
eab45f7c NG |
1139 | ("rust-num-bigint" ,rust-num-bigint-0.3) |
1140 | ("rust-num-format" ,rust-num-format-0.4) | |
1141 | ("rust-num-traits" ,rust-num-traits-0.2) | |
1142 | ("rust-parking-lot" ,rust-parking-lot-0.11) | |
1143 | ("rust-pin-utils" ,rust-pin-utils-0.1) | |
eab45f7c | 1144 | ("rust-ptree" ,rust-ptree-0.3) |
67554089 NG |
1145 | ("rust-query-interface" ,rust-query-interface-0.3) |
1146 | ("rust-quick-xml" ,rust-quick-xml-0.21) | |
b95a9ff8 NG |
1147 | ("rust-quickcheck" ,rust-quickcheck-1) |
1148 | ("rust-quickcheck-macros" ,rust-quickcheck-macros-1) | |
1149 | ("rust-rand" ,rust-rand-0.8) | |
eab45f7c NG |
1150 | ("rust-rayon" ,rust-rayon-1) |
1151 | ("rust-regex" ,rust-regex-1) | |
1152 | ("rust-roxmltree" ,rust-roxmltree-0.14) | |
1153 | ("rust-rusqlite" ,rust-rusqlite-0.24) | |
1154 | ("rust-rust-embed" ,rust-rust-embed-5) | |
39f69aff | 1155 | ("rust-rustyline" ,rust-rustyline-8) |
eab45f7c NG |
1156 | ("rust-serde" ,rust-serde-1) |
1157 | ("rust-serde-bytes" ,rust-serde-bytes-0.11) | |
1158 | ("rust-serde-ini" ,rust-serde-ini-0.2) | |
1159 | ("rust-serde-json" ,rust-serde-json-1) | |
67554089 | 1160 | ("rust-serde-urlencoded" ,rust-serde-urlencoded-0.7) |
eab45f7c NG |
1161 | ("rust-serde-yaml" ,rust-serde-yaml-0.8) |
1162 | ("rust-sha2" ,rust-sha2-0.9) | |
1163 | ("rust-shadow-rs" ,rust-shadow-rs-0.5) | |
1164 | ("rust-shadow-rs" ,rust-shadow-rs-0.5) | |
1165 | ("rust-shellexpand" ,rust-shellexpand-2) | |
67554089 | 1166 | ("rust-strip-ansi-escapes" ,rust-strip-ansi-escapes-0.1) |
eab45f7c NG |
1167 | ("rust-sxd-document" ,rust-sxd-document-0.3) |
1168 | ("rust-sxd-xpath" ,rust-sxd-xpath-0.4) | |
1169 | ("rust-tempfile" ,rust-tempfile-3) | |
b95a9ff8 | 1170 | ("rust-term" ,rust-term-0.7) |
eab45f7c NG |
1171 | ("rust-term-size" ,rust-term-size-0.3) |
1172 | ("rust-termcolor" ,rust-termcolor-1) | |
1173 | ("rust-titlecase" ,rust-titlecase-1) | |
1174 | ("rust-toml" ,rust-toml-0.5) | |
1175 | ("rust-trash" ,rust-trash-1) | |
1176 | ("rust-umask" ,rust-umask-1) | |
67554089 | 1177 | ("rust-unicode-segmentation" ,rust-unicode-segmentation-1) |
eab45f7c | 1178 | ("rust-url" ,rust-url-2) |
b95a9ff8 | 1179 | ("rust-users" ,rust-users-0.11) |
eab45f7c NG |
1180 | ("rust-uuid" ,rust-uuid-0.8) |
1181 | ("rust-which" ,rust-which-4) | |
1182 | ("rust-zip" ,rust-zip-0.5)))) | |
1183 | (home-page "https://www.nushell.sh") | |
1184 | (synopsis "CLI for nushell") | |
1185 | (description "CLI for nushell") | |
0f2e8e94 | 1186 | (license license:expat))) |
eab45f7c | 1187 | |
67554089 | 1188 | (define-public rust-nu-command-0.31 |
bd8e0833 NG |
1189 | (package |
1190 | (name "rust-nu-command") | |
67554089 | 1191 | (version "0.31.0") |
bd8e0833 NG |
1192 | (source |
1193 | (origin | |
1194 | (method url-fetch) | |
1195 | (uri (crate-uri "nu-command" version)) | |
1196 | (file-name (string-append name "-" version ".tar.gz")) | |
1197 | (sha256 | |
67554089 | 1198 | (base32 "079izj7fwdrdi9zi2260gkbqma7bm3lnx57hdlcslyg41mxka44c")))) |
bd8e0833 NG |
1199 | (build-system cargo-build-system) |
1200 | (arguments | |
1201 | `(#:skip-build? #t | |
1202 | #:cargo-inputs | |
a5a5ec56 | 1203 | (("rust-arboard" ,rust-arboard-1) |
bd8e0833 NG |
1204 | ("rust-base64" ,rust-base64-0.13) |
1205 | ("rust-bigdecimal" ,rust-bigdecimal-0.2) | |
1206 | ("rust-byte-unit" ,rust-byte-unit-4) | |
b95a9ff8 NG |
1207 | ("rust-bytes" ,rust-bytes-1) |
1208 | ("rust-calamine" ,rust-calamine-0.17) | |
bd8e0833 NG |
1209 | ("rust-chrono" ,rust-chrono-0.4) |
1210 | ("rust-chrono-tz" ,rust-chrono-tz-0.5) | |
1211 | ("rust-clap" ,rust-clap-2) | |
39f69aff NG |
1212 | ("rust-codespan-reporting" |
1213 | ,rust-codespan-reporting-0.11) | |
a5a5ec56 | 1214 | ("rust-crossterm" ,rust-crossterm-0.19) |
bd8e0833 NG |
1215 | ("rust-csv" ,rust-csv-1) |
1216 | ("rust-ctrlc" ,rust-ctrlc-3) | |
1217 | ("rust-derive-new" ,rust-derive-new-0.5) | |
39f69aff NG |
1218 | ("rust-directories-next" |
1219 | ,rust-directories-next-2) | |
bd8e0833 NG |
1220 | ("rust-dirs-next" ,rust-dirs-next-2) |
1221 | ("rust-dtparse" ,rust-dtparse-1) | |
1222 | ("rust-dunce" ,rust-dunce-1) | |
1223 | ("rust-eml-parser" ,rust-eml-parser-0.1) | |
1224 | ("rust-encoding-rs" ,rust-encoding-rs-0.8) | |
1225 | ("rust-filesize" ,rust-filesize-0.2) | |
1226 | ("rust-fs-extra" ,rust-fs-extra-1) | |
1227 | ("rust-futures" ,rust-futures-0.3) | |
bd8e0833 NG |
1228 | ("rust-getset" ,rust-getset-0.1) |
1229 | ("rust-glob" ,rust-glob-0.3) | |
1230 | ("rust-htmlescape" ,rust-htmlescape-0.3) | |
1231 | ("rust-ical" ,rust-ical-0.7) | |
bd8e0833 NG |
1232 | ("rust-indexmap" ,rust-indexmap-1) |
1233 | ("rust-inflector" ,rust-inflector-0.11) | |
1234 | ("rust-itertools" ,rust-itertools-0.10) | |
1235 | ("rust-lazy-static" ,rust-lazy-static-1) | |
1236 | ("rust-log" ,rust-log-0.4) | |
39f69aff | 1237 | ("rust-md5" ,rust-md5-0.7) |
bd8e0833 | 1238 | ("rust-meval" ,rust-meval-0.2) |
a5a5ec56 | 1239 | ("rust-minus" ,rust-minus-3) |
67554089 NG |
1240 | ("rust-nu-ansi-term" ,rust-nu-ansi-term-0.31) |
1241 | ("rust-nu-data" ,rust-nu-data-0.31) | |
1242 | ("rust-nu-engine" ,rust-nu-engine-0.31) | |
1243 | ("rust-nu-errors" ,rust-nu-errors-0.31) | |
1244 | ("rust-nu-json" ,rust-nu-json-0.31) | |
1245 | ("rust-nu-parser" ,rust-nu-parser-0.31) | |
1246 | ("rust-nu-plugin" ,rust-nu-plugin-0.31) | |
1247 | ("rust-nu-pretty-hex" ,rust-nu-pretty-hex-0.31) | |
1248 | ("rust-nu-protocol" ,rust-nu-protocol-0.31) | |
1249 | ("rust-nu-source" ,rust-nu-source-0.31) | |
1250 | ("rust-nu-stream" ,rust-nu-stream-0.31) | |
1251 | ("rust-nu-table" ,rust-nu-table-0.31) | |
39f69aff | 1252 | ("rust-nu-test-support" |
67554089 NG |
1253 | ,rust-nu-test-support-0.31) |
1254 | ("rust-nu-value-ext" ,rust-nu-value-ext-0.31) | |
bd8e0833 NG |
1255 | ("rust-num-bigint" ,rust-num-bigint-0.3) |
1256 | ("rust-num-format" ,rust-num-format-0.4) | |
1257 | ("rust-num-traits" ,rust-num-traits-0.2) | |
1258 | ("rust-parking-lot" ,rust-parking-lot-0.11) | |
1259 | ("rust-pin-utils" ,rust-pin-utils-0.1) | |
bd8e0833 | 1260 | ("rust-ptree" ,rust-ptree-0.3) |
39f69aff NG |
1261 | ("rust-query-interface" |
1262 | ,rust-query-interface-0.3) | |
b95a9ff8 | 1263 | ("rust-quick-xml" ,rust-quick-xml-0.21) |
bd8e0833 NG |
1264 | ("rust-rand" ,rust-rand-0.7) |
1265 | ("rust-rayon" ,rust-rayon-1) | |
1266 | ("rust-regex" ,rust-regex-1) | |
1267 | ("rust-roxmltree" ,rust-roxmltree-0.14) | |
1268 | ("rust-rusqlite" ,rust-rusqlite-0.24) | |
1269 | ("rust-rust-embed" ,rust-rust-embed-5) | |
39f69aff | 1270 | ("rust-rustyline" ,rust-rustyline-8) |
bd8e0833 NG |
1271 | ("rust-serde" ,rust-serde-1) |
1272 | ("rust-serde-bytes" ,rust-serde-bytes-0.11) | |
1273 | ("rust-serde-ini" ,rust-serde-ini-0.2) | |
1274 | ("rust-serde-json" ,rust-serde-json-1) | |
39f69aff NG |
1275 | ("rust-serde-urlencoded" |
1276 | ,rust-serde-urlencoded-0.7) | |
bd8e0833 NG |
1277 | ("rust-serde-yaml" ,rust-serde-yaml-0.8) |
1278 | ("rust-sha2" ,rust-sha2-0.9) | |
1279 | ("rust-shadow-rs" ,rust-shadow-rs-0.5) | |
1280 | ("rust-shellexpand" ,rust-shellexpand-2) | |
39f69aff NG |
1281 | ("rust-strip-ansi-escapes" |
1282 | ,rust-strip-ansi-escapes-0.1) | |
bd8e0833 NG |
1283 | ("rust-sxd-document" ,rust-sxd-document-0.3) |
1284 | ("rust-sxd-xpath" ,rust-sxd-xpath-0.4) | |
1285 | ("rust-tempfile" ,rust-tempfile-3) | |
b95a9ff8 | 1286 | ("rust-term" ,rust-term-0.7) |
bd8e0833 NG |
1287 | ("rust-term-size" ,rust-term-size-0.3) |
1288 | ("rust-termcolor" ,rust-termcolor-1) | |
1289 | ("rust-titlecase" ,rust-titlecase-1) | |
1290 | ("rust-toml" ,rust-toml-0.5) | |
1291 | ("rust-trash" ,rust-trash-1) | |
1292 | ("rust-umask" ,rust-umask-1) | |
39f69aff NG |
1293 | ("rust-unicode-segmentation" |
1294 | ,rust-unicode-segmentation-1) | |
bd8e0833 | 1295 | ("rust-url" ,rust-url-2) |
b95a9ff8 | 1296 | ("rust-users" ,rust-users-0.11) |
bd8e0833 NG |
1297 | ("rust-uuid" ,rust-uuid-0.8) |
1298 | ("rust-which" ,rust-which-4) | |
1299 | ("rust-zip" ,rust-zip-0.5)))) | |
1300 | (home-page "https://www.nushell.sh") | |
1301 | (synopsis "CLI for nushell") | |
1302 | (description "CLI for nushell") | |
0f2e8e94 | 1303 | (license license:expat))) |
bd8e0833 | 1304 | |
67554089 | 1305 | (define-public rust-nu-data-0.31 |
70102f9d NG |
1306 | (package |
1307 | (name "rust-nu-data") | |
67554089 | 1308 | (version "0.31.0") |
70102f9d NG |
1309 | (source |
1310 | (origin | |
1311 | (method url-fetch) | |
1312 | (uri (crate-uri "nu-data" version)) | |
1313 | (file-name (string-append name "-" version ".tar.gz")) | |
1314 | (sha256 | |
67554089 | 1315 | (base32 "0sdl6s7j4bx03lmc65x3mnyn75mckq4gb96kr46a0g74mmds1j73")))) |
70102f9d NG |
1316 | (build-system cargo-build-system) |
1317 | (arguments | |
1318 | `(#:skip-build? #t | |
1319 | #:cargo-inputs | |
a5a5ec56 | 1320 | (("rust-bigdecimal" ,rust-bigdecimal-0.2) |
70102f9d NG |
1321 | ("rust-byte-unit" ,rust-byte-unit-4) |
1322 | ("rust-chrono" ,rust-chrono-0.4) | |
67554089 | 1323 | ("rust-common-path" ,rust-common-path-1) |
70102f9d | 1324 | ("rust-derive-new" ,rust-derive-new-0.5) |
39f69aff NG |
1325 | ("rust-directories-next" |
1326 | ,rust-directories-next-2) | |
70102f9d NG |
1327 | ("rust-dirs-next" ,rust-dirs-next-2) |
1328 | ("rust-getset" ,rust-getset-0.1) | |
1329 | ("rust-indexmap" ,rust-indexmap-1) | |
1330 | ("rust-log" ,rust-log-0.4) | |
67554089 NG |
1331 | ("rust-nu-ansi-term" ,rust-nu-ansi-term-0.31) |
1332 | ("rust-nu-errors" ,rust-nu-errors-0.31) | |
1333 | ("rust-nu-protocol" ,rust-nu-protocol-0.31) | |
1334 | ("rust-nu-source" ,rust-nu-source-0.31) | |
1335 | ("rust-nu-table" ,rust-nu-table-0.31) | |
39f69aff | 1336 | ("rust-nu-test-support" |
67554089 NG |
1337 | ,rust-nu-test-support-0.31) |
1338 | ("rust-nu-value-ext" ,rust-nu-value-ext-0.31) | |
70102f9d NG |
1339 | ("rust-num-bigint" ,rust-num-bigint-0.3) |
1340 | ("rust-num-format" ,rust-num-format-0.4) | |
1341 | ("rust-num-traits" ,rust-num-traits-0.2) | |
39f69aff NG |
1342 | ("rust-query-interface" |
1343 | ,rust-query-interface-0.3) | |
70102f9d | 1344 | ("rust-serde" ,rust-serde-1) |
67554089 | 1345 | ("rust-sha2" ,rust-sha2-0.9) |
70102f9d | 1346 | ("rust-toml" ,rust-toml-0.5) |
b95a9ff8 | 1347 | ("rust-users" ,rust-users-0.11)))) |
70102f9d NG |
1348 | (home-page "https://www.nushell.sh") |
1349 | (synopsis "CLI for nushell") | |
1350 | (description "CLI for nushell") | |
0f2e8e94 | 1351 | (license license:expat))) |
70102f9d | 1352 | |
67554089 | 1353 | (define-public rust-nu-engine-0.31 |
0ee0dfcc NG |
1354 | (package |
1355 | (name "rust-nu-engine") | |
67554089 | 1356 | (version "0.31.0") |
0ee0dfcc NG |
1357 | (source |
1358 | (origin | |
1359 | (method url-fetch) | |
1360 | (uri (crate-uri "nu-engine" version)) | |
1361 | (file-name (string-append name "-" version ".tar.gz")) | |
1362 | (sha256 | |
67554089 | 1363 | (base32 "10jw88xiv7hnvrngjfsih147zipnxcmax3a0az064cnf00kx8bkl")))) |
0ee0dfcc NG |
1364 | (build-system cargo-build-system) |
1365 | (arguments | |
1366 | `(#:skip-build? #t | |
1367 | #:cargo-inputs | |
67554089 NG |
1368 | (("rust-ansi-term" ,rust-ansi-term-0.12) |
1369 | ("rust-async-recursion" | |
39f69aff | 1370 | ,rust-async-recursion-0.3) |
0ee0dfcc | 1371 | ("rust-async-trait" ,rust-async-trait-0.1) |
67554089 | 1372 | ("rust-bigdecimal" ,rust-bigdecimal-0.2) |
0ee0dfcc | 1373 | ("rust-bytes" ,rust-bytes-0.5) |
67554089 | 1374 | ("rust-chrono" ,rust-chrono-0.4) |
39f69aff NG |
1375 | ("rust-codespan-reporting" |
1376 | ,rust-codespan-reporting-0.11) | |
0ee0dfcc NG |
1377 | ("rust-derive-new" ,rust-derive-new-0.5) |
1378 | ("rust-dirs-next" ,rust-dirs-next-2) | |
1379 | ("rust-dunce" ,rust-dunce-1) | |
67554089 | 1380 | ("rust-dyn-clone" ,rust-dyn-clone-1) |
0ee0dfcc NG |
1381 | ("rust-encoding-rs" ,rust-encoding-rs-0.8) |
1382 | ("rust-filesize" ,rust-filesize-0.2) | |
1383 | ("rust-fs-extra" ,rust-fs-extra-1) | |
1384 | ("rust-futures" ,rust-futures-0.3) | |
1385 | ("rust-futures-util" ,rust-futures-util-0.3) | |
1386 | ("rust-futures-codec" ,rust-futures-codec-0.4) | |
1387 | ("rust-getset" ,rust-getset-0.1) | |
1388 | ("rust-glob" ,rust-glob-0.3) | |
1389 | ("rust-indexmap" ,rust-indexmap-1) | |
1390 | ("rust-itertools" ,rust-itertools-0.10) | |
1391 | ("rust-log" ,rust-log-0.4) | |
67554089 NG |
1392 | ("rust-nu-ansi-term" ,rust-nu-ansi-term-0.31) |
1393 | ("rust-nu-data" ,rust-nu-data-0.31) | |
1394 | ("rust-nu-errors" ,rust-nu-errors-0.31) | |
1395 | ("rust-nu-parser" ,rust-nu-parser-0.31) | |
1396 | ("rust-nu-plugin" ,rust-nu-plugin-0.31) | |
1397 | ("rust-nu-protocol" ,rust-nu-protocol-0.31) | |
1398 | ("rust-nu-source" ,rust-nu-source-0.31) | |
1399 | ("rust-nu-stream" ,rust-nu-stream-0.31) | |
1400 | ("rust-nu-value-ext" ,rust-nu-value-ext-0.31) | |
1401 | ("rust-num-bigint" ,rust-num-bigint-0.3) | |
1402 | ("rust-num-format" ,rust-num-format-0.4) | |
1403 | ("rust-num-traits" ,rust-num-traits-0.2) | |
0ee0dfcc NG |
1404 | ("rust-parking-lot" ,rust-parking-lot-0.11) |
1405 | ("rust-rayon" ,rust-rayon-1) | |
1406 | ("rust-serde" ,rust-serde-1) | |
1407 | ("rust-serde-json" ,rust-serde-json-1) | |
1408 | ("rust-tempfile" ,rust-tempfile-3) | |
1409 | ("rust-term-size" ,rust-term-size-0.3) | |
1410 | ("rust-termcolor" ,rust-termcolor-1) | |
a5a5ec56 | 1411 | ("rust-trash" ,rust-trash-1) |
0ee0dfcc | 1412 | ("rust-umask" ,rust-umask-1) |
39f69aff NG |
1413 | ("rust-users" ,rust-users-0.11) |
1414 | ("rust-which" ,rust-which-4)))) | |
0ee0dfcc NG |
1415 | (home-page "https://www.nushell.sh") |
1416 | (synopsis "Core commands for nushell") | |
1417 | (description "Core commands for nushell") | |
0f2e8e94 | 1418 | (license license:expat))) |
0ee0dfcc | 1419 | |
67554089 | 1420 | (define-public rust-nu-errors-0.31 |
be46f51e NG |
1421 | (package |
1422 | (name "rust-nu-errors") | |
67554089 | 1423 | (version "0.31.0") |
be46f51e NG |
1424 | (source |
1425 | (origin | |
1426 | (method url-fetch) | |
1427 | (uri (crate-uri "nu-errors" version)) | |
1428 | (file-name (string-append name "-" version ".tar.gz")) | |
1429 | (sha256 | |
67554089 | 1430 | (base32 "0hkkx66gcj6nail9r65yf92zxz8f8mdxv4y8by3vijqmv22kshgb")))) |
be46f51e NG |
1431 | (build-system cargo-build-system) |
1432 | (arguments | |
1433 | `(#:skip-build? #t | |
1434 | #:cargo-inputs | |
a5a5ec56 | 1435 | (("rust-bigdecimal" ,rust-bigdecimal-0.2) |
39f69aff NG |
1436 | ("rust-codespan-reporting" |
1437 | ,rust-codespan-reporting-0.11) | |
be46f51e NG |
1438 | ("rust-derive-new" ,rust-derive-new-0.5) |
1439 | ("rust-getset" ,rust-getset-0.1) | |
1440 | ("rust-glob" ,rust-glob-0.3) | |
67554089 NG |
1441 | ("rust-nu-ansi-term" ,rust-nu-ansi-term-0.31) |
1442 | ("rust-nu-source" ,rust-nu-source-0.31) | |
be46f51e NG |
1443 | ("rust-num-bigint" ,rust-num-bigint-0.3) |
1444 | ("rust-num-traits" ,rust-num-traits-0.2) | |
1445 | ("rust-serde" ,rust-serde-1) | |
1446 | ("rust-serde-json" ,rust-serde-json-1) | |
1447 | ("rust-serde-yaml" ,rust-serde-yaml-0.8) | |
1448 | ("rust-toml" ,rust-toml-0.5)))) | |
1449 | (home-page "https://www.nushell.sh") | |
1450 | (synopsis "Core error subsystem for Nushell") | |
1451 | (description "Core error subsystem for Nushell") | |
0f2e8e94 | 1452 | (license license:expat))) |
be46f51e | 1453 | |
67554089 | 1454 | (define-public rust-nu-json-0.31 |
1a988ef6 NG |
1455 | (package |
1456 | (name "rust-nu-json") | |
67554089 | 1457 | (version "0.31.0") |
1a988ef6 NG |
1458 | (source |
1459 | (origin | |
1460 | (method url-fetch) | |
1461 | (uri (crate-uri "nu-json" version)) | |
1462 | (file-name (string-append name "-" version ".tar.gz")) | |
1463 | (sha256 | |
67554089 | 1464 | (base32 "1jr0314xhz2jfksr6wiq1x30dh1k63bx92li9ls1k3nw6s4pjdlv")))) |
1a988ef6 NG |
1465 | (build-system cargo-build-system) |
1466 | (arguments | |
1467 | `(#:skip-build? #t | |
1468 | #:cargo-inputs | |
1469 | (("rust-lazy-static" ,rust-lazy-static-1) | |
39f69aff NG |
1470 | ("rust-linked-hash-map" |
1471 | ,rust-linked-hash-map-0.5) | |
1a988ef6 NG |
1472 | ("rust-num-traits" ,rust-num-traits-0.2) |
1473 | ("rust-regex" ,rust-regex-1) | |
a5a5ec56 | 1474 | ("rust-serde" ,rust-serde-1)))) |
1a988ef6 NG |
1475 | (home-page "https://www.nushell.sh") |
1476 | (synopsis "Fork of @code{serde-hjson}") | |
1477 | (description "This package is a fork of @code{serde-hjson}.") | |
0f2e8e94 | 1478 | (license license:expat))) |
1a988ef6 | 1479 | |
67554089 | 1480 | (define-public rust-nu-parser-0.31 |
6b3d7439 NG |
1481 | (package |
1482 | (name "rust-nu-parser") | |
67554089 | 1483 | (version "0.31.0") |
6b3d7439 NG |
1484 | (source |
1485 | (origin | |
1486 | (method url-fetch) | |
1487 | (uri (crate-uri "nu-parser" version)) | |
1488 | (file-name (string-append name "-" version ".tar.gz")) | |
1489 | (sha256 | |
67554089 | 1490 | (base32 "0apiq41vvaglxbfhf8mil0amqjsm3lx00kcjshjlsxmpp6gyc951")))) |
6b3d7439 NG |
1491 | (build-system cargo-build-system) |
1492 | (arguments | |
1493 | `(#:skip-build? #t | |
1494 | #:cargo-inputs | |
1495 | (("rust-bigdecimal" ,rust-bigdecimal-0.2) | |
39f69aff NG |
1496 | ("rust-codespan-reporting" |
1497 | ,rust-codespan-reporting-0.11) | |
6b3d7439 | 1498 | ("rust-derive-new" ,rust-derive-new-0.5) |
39f69aff NG |
1499 | ("rust-derive-is-enum-variant" |
1500 | ,rust-derive-is-enum-variant-0.1) | |
6b3d7439 NG |
1501 | ("rust-dunce" ,rust-dunce-1) |
1502 | ("rust-indexmap" ,rust-indexmap-1) | |
b95a9ff8 | 1503 | ("rust-itertools" ,rust-itertools-0.10) |
6b3d7439 | 1504 | ("rust-log" ,rust-log-0.4) |
67554089 NG |
1505 | ("rust-nu-errors" ,rust-nu-errors-0.31) |
1506 | ("rust-nu-protocol" ,rust-nu-protocol-0.31) | |
1507 | ("rust-nu-source" ,rust-nu-source-0.31) | |
39f69aff | 1508 | ("rust-nu-test-support" |
67554089 | 1509 | ,rust-nu-test-support-0.31) |
6b3d7439 NG |
1510 | ("rust-num-bigint" ,rust-num-bigint-0.3) |
1511 | ("rust-num-traits" ,rust-num-traits-0.2) | |
1512 | ("rust-serde" ,rust-serde-1) | |
1513 | ("rust-shellexpand" ,rust-shellexpand-2) | |
1514 | ("rust-smart-default" ,rust-smart-default-0.6)))) | |
1515 | (home-page "https://www.nushell.sh") | |
1516 | (synopsis "Nushell parser") | |
1517 | (description "Nushell parser") | |
0f2e8e94 | 1518 | (license license:expat))) |
6b3d7439 | 1519 | |
67554089 | 1520 | (define-public rust-nu-plugin-0.31 |
049d53ee NG |
1521 | (package |
1522 | (name "rust-nu-plugin") | |
67554089 | 1523 | (version "0.31.0") |
049d53ee NG |
1524 | (source |
1525 | (origin | |
1526 | (method url-fetch) | |
1527 | (uri (crate-uri "nu-plugin" version)) | |
1528 | (file-name | |
1529 | (string-append name "-" version ".tar.gz")) | |
1530 | (sha256 | |
67554089 | 1531 | (base32 "108sak4c0kym8pmgdja06yzfb45q2r67b5xy1lb3pf5067rcl0sn")))) |
049d53ee NG |
1532 | (build-system cargo-build-system) |
1533 | (arguments | |
1534 | `(#:skip-build? #t | |
1535 | #:cargo-inputs | |
1536 | (("rust-bigdecimal" ,rust-bigdecimal-0.2) | |
1537 | ("rust-indexmap" ,rust-indexmap-1) | |
67554089 NG |
1538 | ("rust-nu-errors" ,rust-nu-errors-0.31) |
1539 | ("rust-nu-protocol" ,rust-nu-protocol-0.31) | |
1540 | ("rust-nu-source" ,rust-nu-source-0.31) | |
a5a5ec56 | 1541 | ("rust-nu-test-support" |
67554089 NG |
1542 | ,rust-nu-test-support-0.31) |
1543 | ("rust-nu-value-ext" ,rust-nu-value-ext-0.31) | |
049d53ee NG |
1544 | ("rust-num-bigint" ,rust-num-bigint-0.3) |
1545 | ("rust-serde" ,rust-serde-1) | |
1546 | ("rust-serde-json" ,rust-serde-json-1)))) | |
1547 | (home-page "https://www.nushell.sh") | |
1548 | (synopsis "Nushell Plugin") | |
1549 | (description "Nushell Plugin") | |
0f2e8e94 | 1550 | (license license:expat))) |
049d53ee | 1551 | |
67554089 | 1552 | (define-public rust-nu-plugin-binaryview-0.31 |
022acfb8 NG |
1553 | (package |
1554 | (name "rust-nu-plugin-binaryview") | |
67554089 | 1555 | (version "0.31.0") |
022acfb8 NG |
1556 | (source |
1557 | (origin | |
1558 | (method url-fetch) | |
1559 | (uri (crate-uri "nu_plugin_binaryview" version)) | |
1560 | (file-name (string-append name "-" version ".tar.gz")) | |
1561 | (sha256 | |
67554089 | 1562 | (base32 "15ifd9j9r131912mmschd9w4br82h305rabz62lc1x2aw5qdp094")))) |
022acfb8 NG |
1563 | (build-system cargo-build-system) |
1564 | (arguments | |
1565 | `(#:skip-build? #t | |
1566 | #:cargo-inputs | |
a5a5ec56 | 1567 | (("rust-crossterm" ,rust-crossterm-0.19) |
022acfb8 NG |
1568 | ("rust-image" ,rust-image-0.22) |
1569 | ("rust-neso" ,rust-neso-0.5) | |
67554089 NG |
1570 | ("rust-nu-ansi-term" ,rust-nu-ansi-term-0.31) |
1571 | ("rust-nu-errors" ,rust-nu-errors-0.31) | |
1572 | ("rust-nu-plugin" ,rust-nu-plugin-0.31) | |
1573 | ("rust-nu-pretty-hex" ,rust-nu-pretty-hex-0.31) | |
1574 | ("rust-nu-protocol" ,rust-nu-protocol-0.31) | |
1575 | ("rust-nu-source" ,rust-nu-source-0.31) | |
022acfb8 NG |
1576 | ("rust-rawkey" ,rust-rawkey-0.1)))) |
1577 | (home-page "https://www.nushell.sh") | |
1578 | (synopsis "Binary viewer plugin for Nushell") | |
1579 | (description | |
1580 | "This package provides a binary viewer plugin for Nushell.") | |
0f2e8e94 | 1581 | (license license:expat))) |
022acfb8 | 1582 | |
67554089 | 1583 | (define-public rust-nu-plugin-chart-0.31 |
8c7398f1 NG |
1584 | (package |
1585 | (name "rust-nu-plugin-chart") | |
67554089 | 1586 | (version "0.31.0") |
8c7398f1 NG |
1587 | (source |
1588 | (origin | |
1589 | (method url-fetch) | |
1590 | (uri (crate-uri "nu_plugin_chart" version)) | |
1591 | (file-name (string-append name "-" version ".tar.gz")) | |
1592 | (sha256 | |
67554089 | 1593 | (base32 "02a0gyibbmkhzbqasx648jwhw6g4056ngsjdnh54wfk9mxzwb37v")))) |
8c7398f1 NG |
1594 | (build-system cargo-build-system) |
1595 | (arguments | |
1596 | `(#:skip-build? #t | |
1597 | #:cargo-inputs | |
1598 | (("rust-crossterm" ,rust-crossterm-0.19) | |
67554089 NG |
1599 | ("rust-nu-cli" ,rust-nu-cli-0.31) |
1600 | ("rust-nu-data" ,rust-nu-data-0.31) | |
1601 | ("rust-nu-errors" ,rust-nu-errors-0.31) | |
1602 | ("rust-nu-plugin" ,rust-nu-plugin-0.31) | |
1603 | ("rust-nu-protocol" ,rust-nu-protocol-0.31) | |
1604 | ("rust-nu-source" ,rust-nu-source-0.31) | |
1605 | ("rust-nu-value-ext" ,rust-nu-value-ext-0.31) | |
8c7398f1 NG |
1606 | ("rust-tui" ,rust-tui-0.14)))) |
1607 | (home-page "https://www.nushell.sh") | |
1608 | (synopsis "Plugin to display charts") | |
1609 | (description | |
1610 | "This package provides a plugin to display charts in Nushell.") | |
0f2e8e94 | 1611 | (license license:expat))) |
8c7398f1 | 1612 | |
67554089 | 1613 | (define-public rust-nu-plugin-fetch-0.31 |
a0bee4e4 NG |
1614 | (package |
1615 | (name "rust-nu-plugin-fetch") | |
67554089 | 1616 | (version "0.31.0") |
a0bee4e4 NG |
1617 | (source |
1618 | (origin | |
1619 | (method url-fetch) | |
1620 | (uri (crate-uri "nu_plugin_fetch" version)) | |
1621 | (file-name (string-append name "-" version ".tar.gz")) | |
1622 | (sha256 | |
67554089 | 1623 | (base32 "0w6739dznxympqv775621r5mgfi5f7i56s6irgpmfpzkvl4xvk53")))) |
a0bee4e4 NG |
1624 | (build-system cargo-build-system) |
1625 | (arguments | |
1626 | `(#:skip-build? #t | |
1627 | #:cargo-inputs | |
1628 | (("rust-base64" ,rust-base64-0.13) | |
1629 | ("rust-futures" ,rust-futures-0.3) | |
a5a5ec56 | 1630 | ("rust-mime" ,rust-mime-0.3) |
67554089 NG |
1631 | ("rust-nu-errors" ,rust-nu-errors-0.31) |
1632 | ("rust-nu-plugin" ,rust-nu-plugin-0.31) | |
1633 | ("rust-nu-protocol" ,rust-nu-protocol-0.31) | |
1634 | ("rust-nu-source" ,rust-nu-source-0.31) | |
a5a5ec56 | 1635 | ("rust-surf" ,rust-surf-2) |
a0bee4e4 NG |
1636 | ("rust-url" ,rust-url-2)))) |
1637 | (home-page "https://www.nushell.sh") | |
1638 | (synopsis "URL fetch plugin for Nushell") | |
1639 | (description "This package provides a URL fetch plugin for Nushell.") | |
0f2e8e94 | 1640 | (license license:expat))) |
a0bee4e4 | 1641 | |
67554089 | 1642 | (define-public rust-nu-plugin-from-bson-0.31 |
85e9bd7c NG |
1643 | (package |
1644 | (name "rust-nu-plugin-from-bson") | |
67554089 | 1645 | (version "0.31.0") |
85e9bd7c NG |
1646 | (source |
1647 | (origin | |
1648 | (method url-fetch) | |
1649 | (uri (crate-uri "nu_plugin_from_bson" version)) | |
1650 | (file-name (string-append name "-" version ".tar.gz")) | |
1651 | (sha256 | |
67554089 | 1652 | (base32 "03v3r77c7ghg1asjllvipvfffilx2l9wqb38qzd8rp7hb9dj01g6")))) |
85e9bd7c NG |
1653 | (build-system cargo-build-system) |
1654 | (arguments | |
1655 | `(#:skip-build? #t | |
1656 | #:cargo-inputs | |
1657 | (("rust-bigdecimal" ,rust-bigdecimal-0.2) | |
1658 | ("rust-bson" ,rust-bson-0.14) | |
67554089 NG |
1659 | ("rust-nu-errors" ,rust-nu-errors-0.31) |
1660 | ("rust-nu-plugin" ,rust-nu-plugin-0.31) | |
1661 | ("rust-nu-protocol" ,rust-nu-protocol-0.31) | |
1662 | ("rust-nu-source" ,rust-nu-source-0.31) | |
1663 | ("rust-nu-value-ext" ,rust-nu-value-ext-0.31) | |
85e9bd7c NG |
1664 | ("rust-num-traits" ,rust-num-traits-0.2)))) |
1665 | (home-page "https://www.nushell.sh") | |
1666 | (synopsis "Converter plugin to the bson format for Nushell") | |
1667 | (description | |
1668 | "This package provides a converter plugin to the bson format for | |
1669 | Nushell.") | |
0f2e8e94 | 1670 | (license license:expat))) |
85e9bd7c | 1671 | |
67554089 | 1672 | (define-public rust-nu-plugin-from-sqlite-0.31 |
d33c999b NG |
1673 | (package |
1674 | (name "rust-nu-plugin-from-sqlite") | |
67554089 | 1675 | (version "0.31.0") |
d33c999b NG |
1676 | (source |
1677 | (origin | |
1678 | (method url-fetch) | |
1679 | (uri (crate-uri "nu_plugin_from_sqlite" version)) | |
1680 | (file-name (string-append name "-" version ".tar.gz")) | |
1681 | (sha256 | |
67554089 | 1682 | (base32 "1gs88cbs55hx4vjbr286b8xckigfgm2908aaa87dv87bhxfmjqim")))) |
d33c999b NG |
1683 | (build-system cargo-build-system) |
1684 | (arguments | |
1685 | `(#:skip-build? #t | |
1686 | #:cargo-inputs | |
1687 | (("rust-bigdecimal" ,rust-bigdecimal-0.2) | |
67554089 NG |
1688 | ("rust-nu-errors" ,rust-nu-errors-0.31) |
1689 | ("rust-nu-plugin" ,rust-nu-plugin-0.31) | |
1690 | ("rust-nu-protocol" ,rust-nu-protocol-0.31) | |
1691 | ("rust-nu-source" ,rust-nu-source-0.31) | |
1692 | ("rust-nu-value-ext" ,rust-nu-value-ext-0.31) | |
d33c999b NG |
1693 | ("rust-num-traits" ,rust-num-traits-0.2) |
1694 | ("rust-rusqlite" ,rust-rusqlite-0.24) | |
1695 | ("rust-tempfile" ,rust-tempfile-3)))) | |
1696 | (home-page "https://www.nushell.sh") | |
1697 | (synopsis "Converter plugin to the bson format for Nushell") | |
1698 | (description | |
1699 | "This package provides a converter plugin to the bson format for | |
1700 | Nushell.") | |
0f2e8e94 | 1701 | (license license:expat))) |
d33c999b | 1702 | |
67554089 | 1703 | (define-public rust-nu-plugin-inc-0.31 |
336cc4c2 NG |
1704 | (package |
1705 | (name "rust-nu-plugin-inc") | |
67554089 | 1706 | (version "0.31.0") |
336cc4c2 NG |
1707 | (source |
1708 | (origin | |
1709 | (method url-fetch) | |
1710 | (uri (crate-uri "nu_plugin_inc" version)) | |
1711 | (file-name (string-append name "-" version ".tar.gz")) | |
1712 | (sha256 | |
67554089 | 1713 | (base32 "0qfi48rh813vbmlaj0idkkcjy6dkx0jz7k023dwdf47v0m6c34hq")))) |
336cc4c2 NG |
1714 | (build-system cargo-build-system) |
1715 | (arguments | |
1716 | `(#:skip-build? #t | |
1717 | #:cargo-inputs | |
67554089 NG |
1718 | (("rust-nu-errors" ,rust-nu-errors-0.31) |
1719 | ("rust-nu-plugin" ,rust-nu-plugin-0.31) | |
1720 | ("rust-nu-protocol" ,rust-nu-protocol-0.31) | |
1721 | ("rust-nu-source" ,rust-nu-source-0.31) | |
a5a5ec56 | 1722 | ("rust-nu-test-support" |
67554089 NG |
1723 | ,rust-nu-test-support-0.31) |
1724 | ("rust-nu-value-ext" ,rust-nu-value-ext-0.31) | |
b95a9ff8 | 1725 | ("rust-semver" ,rust-semver-0.11)))) |
336cc4c2 NG |
1726 | (home-page "https://www.nushell.sh") |
1727 | (synopsis "Version incrementer plugin for Nushell") | |
1728 | (description | |
1729 | "This package provides a version incrementer plugin for | |
1730 | Nushell.") | |
0f2e8e94 | 1731 | (license license:expat))) |
336cc4c2 | 1732 | |
67554089 | 1733 | (define-public rust-nu-plugin-match-0.31 |
cdb99906 NG |
1734 | (package |
1735 | (name "rust-nu-plugin-match") | |
67554089 | 1736 | (version "0.31.0") |
cdb99906 NG |
1737 | (source |
1738 | (origin | |
1739 | (method url-fetch) | |
1740 | (uri (crate-uri "nu_plugin_match" version)) | |
1741 | (file-name (string-append name "-" version ".tar.gz")) | |
1742 | (sha256 | |
67554089 | 1743 | (base32 "175wcqjzpchhcmgpwk15xhbrbq63wzcpgldrz5m97z5qirwgskpj")))) |
cdb99906 NG |
1744 | (build-system cargo-build-system) |
1745 | (arguments | |
1746 | `(#:skip-build? #t | |
1747 | #:cargo-inputs | |
67554089 NG |
1748 | (("rust-nu-errors" ,rust-nu-errors-0.31) |
1749 | ("rust-nu-plugin" ,rust-nu-plugin-0.31) | |
1750 | ("rust-nu-protocol" ,rust-nu-protocol-0.31) | |
1751 | ("rust-nu-source" ,rust-nu-source-0.31) | |
cdb99906 NG |
1752 | ("rust-regex" ,rust-regex-1)))) |
1753 | (home-page "https://www.nushell.sh") | |
1754 | (synopsis "Regex match plugin for Nushell") | |
1755 | (description | |
1756 | "This package provides a regex match plugin for Nushell.") | |
0f2e8e94 | 1757 | (license license:expat))) |
cdb99906 | 1758 | |
67554089 | 1759 | (define-public rust-nu-plugin-post-0.31 |
21fec9f8 NG |
1760 | (package |
1761 | (name "rust-nu-plugin-post") | |
67554089 | 1762 | (version "0.31.0") |
21fec9f8 NG |
1763 | (source |
1764 | (origin | |
1765 | (method url-fetch) | |
1766 | (uri (crate-uri "nu_plugin_post" version)) | |
1767 | (file-name (string-append name "-" version ".tar.gz")) | |
1768 | (sha256 | |
67554089 | 1769 | (base32 "1sr9aaqfqxpq16yh0sc9m83cj9xgackqbk7hmy2j97kj3vjmwd4w")))) |
21fec9f8 NG |
1770 | (build-system cargo-build-system) |
1771 | (arguments | |
1772 | `(#:skip-build? #t | |
1773 | #:cargo-inputs | |
b95a9ff8 | 1774 | (("rust-base64" ,rust-base64-0.13) |
21fec9f8 | 1775 | ("rust-futures" ,rust-futures-0.3) |
67554089 NG |
1776 | ("rust-nu-errors" ,rust-nu-errors-0.31) |
1777 | ("rust-nu-plugin" ,rust-nu-plugin-0.31) | |
1778 | ("rust-nu-protocol" ,rust-nu-protocol-0.31) | |
1779 | ("rust-nu-source" ,rust-nu-source-0.31) | |
21fec9f8 NG |
1780 | ("rust-num-traits" ,rust-num-traits-0.2) |
1781 | ("rust-serde-json" ,rust-serde-json-1) | |
1782 | ("rust-surf" ,rust-surf-1) | |
1783 | ("rust-url" ,rust-url-2)))) | |
1784 | (home-page "https://www.nushell.sh") | |
b95a9ff8 NG |
1785 | (synopsis "HTTP POST plugin for Nushell") |
1786 | (description "This package is an HTTP POST plugin for Nushell.") | |
0f2e8e94 | 1787 | (license license:expat))) |
21fec9f8 | 1788 | |
67554089 | 1789 | (define-public rust-nu-plugin-ps-0.31 |
4244cc9a NG |
1790 | (package |
1791 | (name "rust-nu-plugin-ps") | |
67554089 | 1792 | (version "0.31.0") |
4244cc9a NG |
1793 | (source |
1794 | (origin | |
1795 | (method url-fetch) | |
1796 | (uri (crate-uri "nu_plugin_ps" version)) | |
1797 | (file-name (string-append name "-" version ".tar.gz")) | |
1798 | (sha256 | |
67554089 | 1799 | (base32 "1a60pjl9ihlppx9ssmfw4sy3d8rxpp513ydhvq57fc6rcilrxjz9")))) |
4244cc9a NG |
1800 | (build-system cargo-build-system) |
1801 | (arguments | |
1802 | `(#:skip-build? #t | |
1803 | #:cargo-inputs | |
1804 | (("rust-futures" ,rust-futures-0.3) | |
1805 | ("rust-futures-timer" ,rust-futures-timer-3) | |
67554089 NG |
1806 | ("rust-nu-errors" ,rust-nu-errors-0.31) |
1807 | ("rust-nu-plugin" ,rust-nu-plugin-0.31) | |
1808 | ("rust-nu-protocol" ,rust-nu-protocol-0.31) | |
1809 | ("rust-nu-source" ,rust-nu-source-0.31) | |
4244cc9a NG |
1810 | ("rust-num-bigint" ,rust-num-bigint-0.3) |
1811 | ("rust-sysinfo" ,rust-sysinfo-0.16)))) | |
1812 | (home-page "https://www.nushell.sh") | |
1813 | (synopsis "Process list plugin for Nushell") | |
1814 | (description | |
1815 | "This package provides a process list plugin for Nushell.") | |
0f2e8e94 | 1816 | (license license:expat))) |
4244cc9a | 1817 | |
67554089 NG |
1818 | (define-public rust-nu-plugin-query-json-0.31 |
1819 | (package | |
1820 | (name "rust-nu-plugin-query-json") | |
1821 | (version "0.31.0") | |
1822 | (source | |
1823 | (origin | |
1824 | (method url-fetch) | |
1825 | (uri (crate-uri "nu_plugin_query_json" version)) | |
1826 | (file-name (string-append name "-" version ".tar.gz")) | |
1827 | (sha256 | |
1828 | (base32 "1f23chy7mglympvs5dcr5d5c3prxhci9lb51ajfmgcai3z334i7v")))) | |
1829 | (build-system cargo-build-system) | |
1830 | (arguments | |
1831 | `(#:skip-build? #t | |
1832 | #:cargo-inputs | |
1833 | (("rust-gjson" ,rust-gjson-0.7) | |
1834 | ("rust-nu-errors" ,rust-nu-errors-0.31) | |
1835 | ("rust-nu-plugin" ,rust-nu-plugin-0.31) | |
1836 | ("rust-nu-protocol" ,rust-nu-protocol-0.31) | |
1837 | ("rust-nu-source" ,rust-nu-source-0.31)))) | |
1838 | (home-page "https://www.nushell.sh") | |
1839 | (synopsis "Query JSON files with Gjson") | |
1840 | (description "query json files with gjson") | |
1841 | (license license:expat))) | |
1842 | ||
1843 | (define-public rust-nu-plugin-s3-0.31 | |
d038cd41 NG |
1844 | (package |
1845 | (name "rust-nu-plugin-s3") | |
67554089 | 1846 | (version "0.31.0") |
d038cd41 NG |
1847 | (source |
1848 | (origin | |
1849 | (method url-fetch) | |
1850 | (uri (crate-uri "nu_plugin_s3" version)) | |
1851 | (file-name (string-append name "-" version ".tar.gz")) | |
1852 | (sha256 | |
67554089 | 1853 | (base32 "0khzvi9gsgv5zqikdx34ndgjw7168r9ckmik9z3wfzhsi2sjfz4k")))) |
d038cd41 NG |
1854 | (build-system cargo-build-system) |
1855 | (arguments | |
1856 | `(#:skip-build? #t | |
1857 | #:cargo-inputs | |
1858 | (("rust-futures" ,rust-futures-0.3) | |
67554089 NG |
1859 | ("rust-nu-errors" ,rust-nu-errors-0.31) |
1860 | ("rust-nu-plugin" ,rust-nu-plugin-0.31) | |
1861 | ("rust-nu-protocol" ,rust-nu-protocol-0.31) | |
1862 | ("rust-nu-source" ,rust-nu-source-0.31) | |
b95a9ff8 | 1863 | ("rust-s3handler" ,rust-s3handler-0.6)))) |
d038cd41 NG |
1864 | (home-page "https://www.nushell.sh") |
1865 | (synopsis "S3 plugin for Nushell") | |
1866 | (description "This package is an S3 plugin for Nushell.") | |
0f2e8e94 | 1867 | (license license:expat))) |
d038cd41 | 1868 | |
67554089 | 1869 | (define-public rust-nu-plugin-selector-0.31 |
177774b3 NG |
1870 | (package |
1871 | (name "rust-nu-plugin-selector") | |
67554089 | 1872 | (version "0.31.0") |
177774b3 NG |
1873 | (source |
1874 | (origin | |
1875 | (method url-fetch) | |
1876 | (uri (crate-uri "nu_plugin_selector" version)) | |
1877 | (file-name (string-append name "-" version ".tar.gz")) | |
1878 | (sha256 | |
67554089 | 1879 | (base32 "1lvxkxmknv18fc2whsib8qjrqydv7jz1xlijss2yyc8i0p9m0rxv")))) |
177774b3 NG |
1880 | (build-system cargo-build-system) |
1881 | (arguments | |
1882 | `(#:skip-build? #t | |
1883 | #:cargo-inputs | |
1884 | (("rust-nipper" ,rust-nipper-0.1) | |
67554089 NG |
1885 | ("rust-nu-errors" ,rust-nu-errors-0.31) |
1886 | ("rust-nu-plugin" ,rust-nu-plugin-0.31) | |
1887 | ("rust-nu-protocol" ,rust-nu-protocol-0.31) | |
1888 | ("rust-nu-source" ,rust-nu-source-0.31)))) | |
177774b3 NG |
1889 | (home-page "https://www.nushell.sh") |
1890 | (synopsis "Web scraping using CSS selector") | |
1891 | (description | |
1892 | "This package provides web scraping using CSS selector.") | |
0f2e8e94 | 1893 | (license license:expat))) |
177774b3 | 1894 | |
67554089 | 1895 | (define-public rust-nu-plugin-start-0.31 |
9179926f NG |
1896 | (package |
1897 | (name "rust-nu-plugin-start") | |
67554089 | 1898 | (version "0.31.0") |
9179926f NG |
1899 | (source |
1900 | (origin | |
1901 | (method url-fetch) | |
1902 | (uri (crate-uri "nu_plugin_start" version)) | |
1903 | (file-name (string-append name "-" version ".tar.gz")) | |
1904 | (sha256 | |
67554089 | 1905 | (base32 "1v5k4h6vw3ws1mvgjsgj2rr7zl7ab9zhfixai94wixs0vlwdfjic")))) |
9179926f NG |
1906 | (build-system cargo-build-system) |
1907 | (arguments | |
1908 | `(#:skip-build? #t | |
1909 | #:cargo-inputs | |
1910 | (("rust-glob" ,rust-glob-0.3) | |
67554089 NG |
1911 | ("rust-nu-errors" ,rust-nu-errors-0.31) |
1912 | ("rust-nu-errors" ,rust-nu-errors-0.31) | |
1913 | ("rust-nu-plugin" ,rust-nu-plugin-0.31) | |
1914 | ("rust-nu-protocol" ,rust-nu-protocol-0.31) | |
1915 | ("rust-nu-source" ,rust-nu-source-0.31) | |
1916 | ("rust-nu-source" ,rust-nu-source-0.31) | |
9179926f | 1917 | ("rust-open" ,rust-open-1) |
67554089 NG |
1918 | ("rust-url" ,rust-url-2) |
1919 | ("rust-webbrowser" ,rust-webbrowser-0.5)))) | |
9179926f NG |
1920 | (home-page "https://www.nushell.sh") |
1921 | (synopsis "Plugin to open files/URLs directly from Nushell") | |
1922 | (description | |
1923 | "This package provides a plugin to open files/URLs directly from | |
1924 | Nushell.") | |
0f2e8e94 | 1925 | (license license:expat))) |
9179926f | 1926 | |
67554089 | 1927 | (define-public rust-nu-plugin-sys-0.31 |
7a07ab4d NG |
1928 | (package |
1929 | (name "rust-nu-plugin-sys") | |
67554089 | 1930 | (version "0.31.0") |
7a07ab4d NG |
1931 | (source |
1932 | (origin | |
1933 | (method url-fetch) | |
1934 | (uri (crate-uri "nu_plugin_sys" version)) | |
1935 | (file-name | |
1936 | (string-append name "-" version ".tar.gz")) | |
1937 | (sha256 | |
67554089 | 1938 | (base32 "049h5lar2f5mf3yx93pdzyjvydk0yfm5qp8brmyyrr6a23pk2c0b")))) |
7a07ab4d NG |
1939 | (build-system cargo-build-system) |
1940 | (arguments | |
1941 | `(#:skip-build? #t | |
1942 | #:cargo-inputs | |
1943 | (("rust-futures" ,rust-futures-0.3) | |
1944 | ("rust-futures-util" ,rust-futures-util-0.3) | |
67554089 NG |
1945 | ("rust-nu-errors" ,rust-nu-errors-0.31) |
1946 | ("rust-nu-plugin" ,rust-nu-plugin-0.31) | |
1947 | ("rust-nu-protocol" ,rust-nu-protocol-0.31) | |
1948 | ("rust-nu-source" ,rust-nu-source-0.31) | |
7a07ab4d NG |
1949 | ("rust-num-bigint" ,rust-num-bigint-0.3) |
1950 | ("rust-sysinfo" ,rust-sysinfo-0.16)))) | |
1951 | (home-page "https://www.nushell.sh") | |
1952 | (synopsis "System info plugin for Nushell") | |
1953 | (description "This package provides a system info plugin for Nushell.") | |
0f2e8e94 | 1954 | (license license:expat))) |
7a07ab4d | 1955 | |
67554089 | 1956 | (define-public rust-nu-plugin-textview-0.31 |
a6149c35 NG |
1957 | (package |
1958 | (name "rust-nu-plugin-textview") | |
67554089 | 1959 | (version "0.31.0") |
a6149c35 NG |
1960 | (source |
1961 | (origin | |
1962 | (method url-fetch) | |
1963 | (uri (crate-uri "nu_plugin_textview" version)) | |
1964 | (file-name (string-append name "-" version ".tar.gz")) | |
1965 | (sha256 | |
67554089 | 1966 | (base32 "1qzpjmld8isin224cf7ss79radps983dw34m1sh7r5czzgwnf89m")))) |
a6149c35 NG |
1967 | (build-system cargo-build-system) |
1968 | (arguments | |
1969 | `(#:skip-build? #t | |
1970 | #:cargo-inputs | |
a5a5ec56 | 1971 | (("rust-bat" ,rust-bat-0.17) |
67554089 NG |
1972 | ("rust-nu-ansi-term" ,rust-nu-ansi-term-0.31) |
1973 | ("rust-nu-data" ,rust-nu-data-0.31) | |
1974 | ("rust-nu-errors" ,rust-nu-errors-0.31) | |
1975 | ("rust-nu-plugin" ,rust-nu-plugin-0.31) | |
1976 | ("rust-nu-protocol" ,rust-nu-protocol-0.31) | |
1977 | ("rust-nu-source" ,rust-nu-source-0.31) | |
a6149c35 NG |
1978 | ("rust-term-size" ,rust-term-size-0.3) |
1979 | ("rust-url" ,rust-url-2)))) | |
1980 | (home-page "https://www.nushell.sh") | |
1981 | (synopsis "Text viewer plugin for Nushell") | |
1982 | (description "This package provides a text viewer plugin for | |
1983 | Nushell.") | |
0f2e8e94 | 1984 | (license license:expat))) |
a6149c35 | 1985 | |
67554089 | 1986 | (define-public rust-nu-plugin-to-bson-0.31 |
08dd8887 NG |
1987 | (package |
1988 | (name "rust-nu-plugin-to-bson") | |
67554089 | 1989 | (version "0.31.0") |
08dd8887 NG |
1990 | (source |
1991 | (origin | |
1992 | (method url-fetch) | |
1993 | (uri (crate-uri "nu_plugin_to_bson" version)) | |
1994 | (file-name (string-append name "-" version ".tar.gz")) | |
1995 | (sha256 | |
67554089 | 1996 | (base32 "19kj3m6a0xshi7fg3smaapag0mj7a2ddci6611dnlasnzj9f9gr3")))) |
08dd8887 NG |
1997 | (build-system cargo-build-system) |
1998 | (arguments | |
1999 | `(#:skip-build? #t | |
2000 | #:cargo-inputs | |
2001 | (("rust-bson" ,rust-bson-0.14) | |
67554089 NG |
2002 | ("rust-nu-errors" ,rust-nu-errors-0.31) |
2003 | ("rust-nu-plugin" ,rust-nu-plugin-0.31) | |
2004 | ("rust-nu-protocol" ,rust-nu-protocol-0.31) | |
2005 | ("rust-nu-source" ,rust-nu-source-0.31) | |
2006 | ("rust-nu-value-ext" ,rust-nu-value-ext-0.31) | |
08dd8887 NG |
2007 | ("rust-num-traits" ,rust-num-traits-0.2)))) |
2008 | (home-page "https://www.nushell.sh") | |
2009 | (synopsis "Converter plugin to the bson format for Nushell") | |
2010 | (description | |
2011 | "This package provides a converter plugin to the bson format for | |
2012 | Nushell.") | |
0f2e8e94 | 2013 | (license license:expat))) |
08dd8887 | 2014 | |
67554089 | 2015 | (define-public rust-nu-plugin-to-sqlite-0.31 |
13501d8b NG |
2016 | (package |
2017 | (name "rust-nu-plugin-to-sqlite") | |
67554089 | 2018 | (version "0.31.0") |
13501d8b NG |
2019 | (source |
2020 | (origin | |
2021 | (method url-fetch) | |
2022 | (uri (crate-uri "nu_plugin_to_sqlite" version)) | |
2023 | (file-name (string-append name "-" version ".tar.gz")) | |
2024 | (sha256 | |
67554089 | 2025 | (base32 "19k427hwpllsyrdsh6qcclwx18nsq3zimz1z9b6kva0s32jzsdg6")))) |
13501d8b NG |
2026 | (build-system cargo-build-system) |
2027 | (arguments | |
2028 | `(#:skip-build? #t | |
2029 | #:cargo-inputs | |
2030 | (("rust-hex" ,rust-hex-0.4) | |
67554089 NG |
2031 | ("rust-nu-errors" ,rust-nu-errors-0.31) |
2032 | ("rust-nu-plugin" ,rust-nu-plugin-0.31) | |
2033 | ("rust-nu-protocol" ,rust-nu-protocol-0.31) | |
2034 | ("rust-nu-source" ,rust-nu-source-0.31) | |
2035 | ("rust-nu-value-ext" ,rust-nu-value-ext-0.31) | |
13501d8b NG |
2036 | ("rust-num-traits" ,rust-num-traits-0.2) |
2037 | ("rust-rusqlite" ,rust-rusqlite-0.24) | |
2038 | ("rust-tempfile" ,rust-tempfile-3)))) | |
2039 | (home-page "https://www.nushell.sh") | |
2040 | (synopsis "Converter plugin to the bson format for Nushell") | |
2041 | (description | |
2042 | "This package provides a converter plugin to the bson format for | |
2043 | Nushell.") | |
0f2e8e94 | 2044 | (license license:expat))) |
13501d8b | 2045 | |
67554089 | 2046 | (define-public rust-nu-plugin-tree-0.31 |
54add535 NG |
2047 | (package |
2048 | (name "rust-nu-plugin-tree") | |
67554089 | 2049 | (version "0.31.0") |
54add535 NG |
2050 | (source |
2051 | (origin | |
2052 | (method url-fetch) | |
2053 | (uri (crate-uri "nu_plugin_tree" version)) | |
2054 | (file-name (string-append name "-" version ".tar.gz")) | |
2055 | (sha256 | |
67554089 | 2056 | (base32 "17vgnqdws522ng373lg4cha5l136hs0zwvxf0393xjyr9i88q9jp")))) |
54add535 NG |
2057 | (build-system cargo-build-system) |
2058 | (arguments | |
2059 | `(#:skip-build? #t | |
2060 | #:cargo-inputs | |
2061 | (("rust-derive-new" ,rust-derive-new-0.5) | |
67554089 NG |
2062 | ("rust-nu-errors" ,rust-nu-errors-0.31) |
2063 | ("rust-nu-plugin" ,rust-nu-plugin-0.31) | |
2064 | ("rust-nu-protocol" ,rust-nu-protocol-0.31) | |
2065 | ("rust-nu-source" ,rust-nu-source-0.31) | |
54add535 NG |
2066 | ("rust-ptree" ,rust-ptree-0.3)))) |
2067 | (home-page "https://www.nushell.sh") | |
2068 | (synopsis "Tree viewer plugin for Nushell") | |
2069 | (description "This package provides a tree viewer plugin for | |
2070 | Nushell.") | |
0f2e8e94 | 2071 | (license license:expat))) |
54add535 | 2072 | |
67554089 | 2073 | (define-public rust-nu-plugin-xpath-0.31 |
c868e878 NG |
2074 | (package |
2075 | (name "rust-nu-plugin-xpath") | |
67554089 | 2076 | (version "0.31.0") |
c868e878 NG |
2077 | (source |
2078 | (origin | |
2079 | (method url-fetch) | |
2080 | (uri (crate-uri "nu_plugin_xpath" version)) | |
2081 | (file-name (string-append name "-" version ".tar.gz")) | |
2082 | (sha256 | |
67554089 | 2083 | (base32 "0zgpbmsx5036c6a5cr2nmi5vv2jyra2a4gnpqq4pazw432h5m48a")))) |
c868e878 NG |
2084 | (build-system cargo-build-system) |
2085 | (arguments | |
2086 | `(#:skip-build? #t | |
2087 | #:cargo-inputs | |
2088 | (("rust-bigdecimal" ,rust-bigdecimal-0.2) | |
2089 | ("rust-indexmap" ,rust-indexmap-1) | |
67554089 NG |
2090 | ("rust-nu-errors" ,rust-nu-errors-0.31) |
2091 | ("rust-nu-plugin" ,rust-nu-plugin-0.31) | |
2092 | ("rust-nu-protocol" ,rust-nu-protocol-0.31) | |
2093 | ("rust-nu-source" ,rust-nu-source-0.31) | |
c868e878 NG |
2094 | ("rust-sxd-document" ,rust-sxd-document-0.3) |
2095 | ("rust-sxd-xpath" ,rust-sxd-xpath-0.4)))) | |
2096 | (home-page "https://www.nushell.sh") | |
2097 | (synopsis "Traverses XML") | |
2098 | (description "Traverses XML") | |
0f2e8e94 | 2099 | (license license:expat))) |
c868e878 | 2100 | |
67554089 NG |
2101 | (define-public rust-nu-pretty-hex-0.31 |
2102 | (package | |
2103 | (name "rust-nu-pretty-hex") | |
2104 | (version "0.31.0") | |
2105 | (source | |
2106 | (origin | |
2107 | (method url-fetch) | |
2108 | (uri (crate-uri "nu-pretty-hex" version)) | |
2109 | (file-name (string-append name "-" version ".tar.gz")) | |
2110 | (sha256 | |
2111 | (base32 "1crsmihbil68p3qb345d33m5p6xa7dkbdxrbxfxh7km4hflc2pq4")))) | |
2112 | (build-system cargo-build-system) | |
2113 | (arguments | |
2114 | `(#:skip-build? #t | |
2115 | #:cargo-inputs | |
2116 | (("rust-heapless" ,rust-heapless-0.6) | |
2117 | ("rust-nu-ansi-term" ,rust-nu-ansi-term-0.29) | |
2118 | ("rust-rand" ,rust-rand-0.8)))) | |
2119 | (home-page "https://www.nushell.sh") | |
2120 | (synopsis "Pretty hex dump of bytes slice in the common style") | |
2121 | (description | |
2122 | "This crate provides pretty hex dump of bytes slice in the common | |
2123 | style.") | |
2124 | (license license:expat))) | |
2125 | ||
2126 | (define-public rust-nu-protocol-0.31 | |
accedcb3 NG |
2127 | (package |
2128 | (name "rust-nu-protocol") | |
67554089 | 2129 | (version "0.31.0") |
accedcb3 NG |
2130 | (source |
2131 | (origin | |
2132 | (method url-fetch) | |
2133 | (uri (crate-uri "nu-protocol" version)) | |
2134 | (file-name (string-append name "-" version ".tar.gz")) | |
2135 | (sha256 | |
67554089 | 2136 | (base32 "1gsnd2p9mbc8b8bhirx8im65nhsbd8mfz655qk1mrl87s3sqiybh")))) |
accedcb3 NG |
2137 | (build-system cargo-build-system) |
2138 | (arguments | |
2139 | `(#:skip-build? #t | |
2140 | #:cargo-inputs | |
2141 | (("rust-bigdecimal" ,rust-bigdecimal-0.2) | |
2142 | ("rust-byte-unit" ,rust-byte-unit-4) | |
2143 | ("rust-chrono" ,rust-chrono-0.4) | |
2144 | ("rust-derive-new" ,rust-derive-new-0.5) | |
2145 | ("rust-getset" ,rust-getset-0.1) | |
2146 | ("rust-indexmap" ,rust-indexmap-1) | |
2147 | ("rust-log" ,rust-log-0.4) | |
67554089 NG |
2148 | ("rust-nu-errors" ,rust-nu-errors-0.31) |
2149 | ("rust-nu-source" ,rust-nu-source-0.31) | |
accedcb3 NG |
2150 | ("rust-num-bigint" ,rust-num-bigint-0.3) |
2151 | ("rust-num-integer" ,rust-num-integer-0.1) | |
2152 | ("rust-num-traits" ,rust-num-traits-0.2) | |
2153 | ("rust-serde" ,rust-serde-1) | |
2154 | ("rust-serde-bytes" ,rust-serde-bytes-0.11) | |
2155 | ("rust-serde-json" ,rust-serde-json-1) | |
2156 | ("rust-serde-yaml" ,rust-serde-yaml-0.8) | |
2157 | ("rust-toml" ,rust-toml-0.5)))) | |
2158 | (home-page "https://www.nushell.sh") | |
2159 | (synopsis "Core values and protocols for Nushell") | |
2160 | (description "Core values and protocols for Nushell") | |
0f2e8e94 | 2161 | (license license:expat))) |
accedcb3 | 2162 | |
67554089 | 2163 | (define-public rust-nu-source-0.31 |
28c2c01a NG |
2164 | (package |
2165 | (name "rust-nu-source") | |
67554089 | 2166 | (version "0.31.0") |
28c2c01a NG |
2167 | (source |
2168 | (origin | |
2169 | (method url-fetch) | |
2170 | (uri (crate-uri "nu-source" version)) | |
2171 | (file-name (string-append name "-" version ".tar.gz")) | |
2172 | (sha256 | |
67554089 | 2173 | (base32 "1bpihjq3dfrry0mxdgg32sx8663rd2gxqkmnqgs4q7lj17ny2a9g")))) |
28c2c01a NG |
2174 | (build-system cargo-build-system) |
2175 | (arguments | |
2176 | `(#:skip-build? #t | |
2177 | #:cargo-inputs | |
2178 | (("rust-derive-new" ,rust-derive-new-0.5) | |
2179 | ("rust-getset" ,rust-getset-0.1) | |
2180 | ("rust-pretty" ,rust-pretty-0.5) | |
2181 | ("rust-serde" ,rust-serde-1) | |
2182 | ("rust-termcolor" ,rust-termcolor-1)))) | |
2183 | (home-page "https://www.nushell.sh") | |
2184 | (synopsis "Source string characterizer for Nushell") | |
2185 | (description | |
2186 | "This package provides a source string characterizer for | |
2187 | Nushell.") | |
0f2e8e94 | 2188 | (license license:expat))) |
04dfc8e6 | 2189 | |
67554089 | 2190 | (define-public rust-nu-stream-0.31 |
4ca98a6f NG |
2191 | (package |
2192 | (name "rust-nu-stream") | |
67554089 | 2193 | (version "0.31.0") |
4ca98a6f NG |
2194 | (source |
2195 | (origin | |
2196 | (method url-fetch) | |
2197 | (uri (crate-uri "nu-stream" version)) | |
2198 | (file-name (string-append name "-" version ".tar.gz")) | |
2199 | (sha256 | |
67554089 | 2200 | (base32 "0ylmfqhhj4aaspwq51yb5wmsn7zhh19035yb0mr28ajygf38s1g7")))) |
4ca98a6f NG |
2201 | (build-system cargo-build-system) |
2202 | (arguments | |
2203 | `(#:skip-build? #t | |
2204 | #:cargo-inputs | |
2205 | (("rust-futures" ,rust-futures-0.3) | |
67554089 NG |
2206 | ("rust-nu-errors" ,rust-nu-errors-0.31) |
2207 | ("rust-nu-protocol" ,rust-nu-protocol-0.31) | |
2208 | ("rust-nu-source" ,rust-nu-source-0.31)))) | |
4ca98a6f NG |
2209 | (home-page "https://www.nushell.sh") |
2210 | (synopsis "Nushell stream") | |
2211 | (description "This package provides Nushell stream.") | |
0f2e8e94 | 2212 | (license license:expat))) |
4ca98a6f | 2213 | |
67554089 | 2214 | (define-public rust-nu-table-0.31 |
04dfc8e6 NG |
2215 | (package |
2216 | (name "rust-nu-table") | |
67554089 | 2217 | (version "0.31.0") |
04dfc8e6 NG |
2218 | (source |
2219 | (origin | |
2220 | (method url-fetch) | |
2221 | (uri (crate-uri "nu-table" version)) | |
2222 | (file-name (string-append name "-" version ".tar.gz")) | |
2223 | (sha256 | |
67554089 | 2224 | (base32 "0sma2i78naf813kw3mlzzbvs27fhz9z8flv7iqgk9pf52g4b6w0p")))) |
04dfc8e6 NG |
2225 | (build-system cargo-build-system) |
2226 | (arguments | |
2227 | `(#:skip-build? #t | |
2228 | #:cargo-inputs | |
67554089 | 2229 | (("rust-nu-ansi-term" ,rust-nu-ansi-term-0.31) |
04dfc8e6 NG |
2230 | ("rust-regex" ,rust-regex-1) |
2231 | ("rust-unicode-width" ,rust-unicode-width-0.1)))) | |
2232 | (home-page "https://www.nushell.sh") | |
2233 | (synopsis "Nushell table printing") | |
2234 | (description "Nushell table printing") | |
0f2e8e94 | 2235 | (license license:expat))) |
68630ac1 | 2236 | |
67554089 | 2237 | (define-public rust-nu-test-support-0.31 |
67e88709 NG |
2238 | (package |
2239 | (name "rust-nu-test-support") | |
67554089 | 2240 | (version "0.31.0") |
67e88709 NG |
2241 | (source |
2242 | (origin | |
2243 | (method url-fetch) | |
2244 | (uri (crate-uri "nu-test-support" version)) | |
2245 | (file-name (string-append name "-" version ".tar.gz")) | |
2246 | (sha256 | |
67554089 | 2247 | (base32 "0n5crvk40vy28f81lp5dyj9clfmslc9al5dvrq3b0gqz11d5y2ab")))) |
67e88709 NG |
2248 | (build-system cargo-build-system) |
2249 | (arguments | |
2250 | `(#:skip-build? #t | |
2251 | #:cargo-inputs | |
2252 | (("rust-bigdecimal" ,rust-bigdecimal-0.2) | |
2253 | ("rust-chrono" ,rust-chrono-0.4) | |
2254 | ("rust-dunce" ,rust-dunce-1) | |
2255 | ("rust-getset" ,rust-getset-0.1) | |
2256 | ("rust-glob" ,rust-glob-0.3) | |
39f69aff | 2257 | ("rust-hamcrest2" ,rust-hamcrest2-0.3) |
67e88709 | 2258 | ("rust-indexmap" ,rust-indexmap-1) |
67554089 NG |
2259 | ("rust-nu-errors" ,rust-nu-errors-0.31) |
2260 | ("rust-nu-protocol" ,rust-nu-protocol-0.31) | |
2261 | ("rust-nu-source" ,rust-nu-source-0.31) | |
2262 | ("rust-nu-value-ext" ,rust-nu-value-ext-0.31) | |
67e88709 NG |
2263 | ("rust-num-bigint" ,rust-num-bigint-0.3) |
2264 | ("rust-tempfile" ,rust-tempfile-3)))) | |
2265 | (home-page "https://www.nushell.sh") | |
2266 | (synopsis "Support for writing Nushell tests") | |
2267 | (description "This package provides support for writing Nushell | |
2268 | tests.") | |
0f2e8e94 | 2269 | (license license:expat))) |
67e88709 | 2270 | |
67554089 | 2271 | (define-public rust-nu-value-ext-0.31 |
68630ac1 NG |
2272 | (package |
2273 | (name "rust-nu-value-ext") | |
67554089 | 2274 | (version "0.31.0") |
68630ac1 NG |
2275 | (source |
2276 | (origin | |
2277 | (method url-fetch) | |
2278 | (uri (crate-uri "nu-value-ext" version)) | |
2279 | (file-name | |
2280 | (string-append name "-" version ".tar.gz")) | |
2281 | (sha256 | |
67554089 | 2282 | (base32 "0wy0zs76f1k0xlm8s7fw34v7rqc592ggzvdgh17fjh4ynnhvr42y")))) |
68630ac1 NG |
2283 | (build-system cargo-build-system) |
2284 | (arguments | |
2285 | `(#:skip-build? #t | |
2286 | #:cargo-inputs | |
2287 | (("rust-indexmap" ,rust-indexmap-1) | |
2288 | ("rust-itertools" ,rust-itertools-0.10) | |
67554089 NG |
2289 | ("rust-nu-errors" ,rust-nu-errors-0.31) |
2290 | ("rust-nu-protocol" ,rust-nu-protocol-0.31) | |
2291 | ("rust-nu-source" ,rust-nu-source-0.31) | |
68630ac1 NG |
2292 | ("rust-num-traits" ,rust-num-traits-0.2)))) |
2293 | (home-page "https://www.nushell.sh") | |
2294 | (synopsis "@code{Extension} traits for values in Nushell") | |
2295 | (description | |
2296 | "This package provides @code{Extension} traits for values in | |
2297 | Nushell.") | |
0f2e8e94 | 2298 | (license license:expat))) |