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