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>
21 ;;; This file is part of GNU Guix.
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.
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.
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/>.
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 crates-graphics)
43 #:use-module (gnu packages crates-io)
44 #:use-module (gnu packages documentation)
45 #:use-module (gnu packages groff)
46 #:use-module (gnu packages guile)
47 #:use-module (gnu packages libbsd)
48 #:use-module (gnu packages libedit)
49 #:use-module (gnu packages linux)
50 #:use-module (gnu packages ncurses)
51 #:use-module (gnu packages pcre)
52 #:use-module (gnu packages perl)
53 #:use-module (gnu packages pkg-config)
54 #:use-module (gnu packages python)
55 #:use-module (gnu packages python-xyz)
56 #:use-module (gnu packages readline)
57 #:use-module (gnu packages rust-apps)
58 #:use-module (gnu packages scheme)
59 #:use-module (guix build-system cargo)
60 #:use-module (guix build-system cmake)
61 #:use-module (guix build-system gnu)
62 #:use-module (guix build-system python)
63 #:use-module (guix build-system trivial)
64 #:use-module (guix download)
65 #:use-module (guix git-download)
66 #:use-module (guix licenses)
67 #:use-module (guix packages)
68 #:use-module (guix utils))
77 (uri (string-append "http://gondor.apana.org.au/~herbert/dash/files/"
78 "dash-" version ".tar.gz"))
80 (base32 "0amwphfal2rnfa63f7qd4i9m4ckv0gm3j6jlxkmfi9x6ddkz3fb2"))
81 (modules '((guix build utils)))
84 ;; The man page hails from BSD, where (d)ash is the default shell.
85 ;; This isn't the case on Guix or indeed most other GNU systems.
86 (substitute* "src/dash.1"
87 (("the standard command interpreter for the system")
88 "a command interpreter based on the original Bourne shell"))
90 (build-system gnu-build-system)
92 `(("libedit" ,libedit)))
94 '(#:configure-flags '("--with-libedit")))
95 (home-page "http://gondor.apana.org.au/~herbert/dash")
96 (synopsis "POSIX-compliant shell optimised for size")
98 "dash is a POSIX-compliant @command{/bin/sh} implementation that aims to be
99 as small as possible, often without sacrificing speed. It is faster than the
100 GNU Bourne-Again Shell (@command{bash}) at most scripted tasks. dash is a
101 direct descendant of NetBSD's Almquist Shell (@command{ash}).")
103 gpl2+)))) ; mksignames.c
112 (uri (string-append "https://github.com/fish-shell/fish-shell/"
113 "releases/download/" version "/"
114 "fish-" version ".tar.gz"))
116 (base32 "1vblmb3x2k2cb0db5jdyflppnlqsm7i6jjaidyhmvaaw7ch2gffm"))
117 (modules '((guix build utils)))
120 (delete-file-recursively "pcre2-10.32") #t))))
121 (build-system cmake-build-system)
123 `(("fish-foreign-env" ,fish-foreign-env)
125 ("pcre2" ,pcre2) ; don't use the bundled PCRE2
126 ("python" ,python))) ; for fish_config and manpage completions
128 `(("doxygen" ,doxygen)
133 (modify-phases %standard-phases
134 (add-after 'unpack 'set-env
136 ;; some tests write to $HOME
137 (setenv "HOME" (getcwd))
139 (add-after 'unpack 'patch-tests
140 (lambda* (#:key inputs #:allow-other-keys)
141 (let ((coreutils (assoc-ref inputs "coreutils"))
142 (bash (assoc-ref inputs "bash")))
144 (delete-file "tests/checks/pipeline-pgroup.fish")
145 ;; These try to open a terminal
146 (delete-file "tests/checks/interactive.fish")
147 (delete-file "tests/checks/login-interactive.fish")
148 ;; These contain absolute path references
149 (substitute* "src/fish_tests.cpp"
150 (("/bin/echo" echo) (string-append coreutils echo))
151 (("/bin/ca" ca) (string-append coreutils ca))
152 (("\"(/bin/c)\"" _ c) (string-append "\"" coreutils c "\""))
153 (("/bin/ls_not_a_path" ls-not-a-path)
154 (string-append coreutils ls-not-a-path))
155 (("/bin/ls" ls) (string-append coreutils ls))
156 (("(/bin/)\"" _ bin) (string-append coreutils bin "\""))
157 (("/bin -" bin) (string-append coreutils bin))
159 "do_test\\(is_potential_path\\("
160 "L\"/usr\", wds, vars, PATH_REQUIRE_DIR\\)\\);"))
163 (append (find-files "tests" ".*\\.(in|out|err)$")
164 (find-files "tests/checks" ".*\\.fish"))
165 (("/bin/pwd" pwd) (string-append coreutils pwd))
166 (("/bin/echo" echo) (string-append coreutils echo))
167 (("/bin/sh" sh) (string-append bash sh))
168 (("/bin/ls" ls) (string-append coreutils ls)))
169 (substitute* (find-files "tests" ".*\\.(in|out|err)$")
170 (("/usr/bin") (string-append coreutils "/bin")))
172 ;; Source /etc/fish/config.fish from $__fish_sysconf_dir/config.fish.
173 (add-after 'patch-tests 'patch-fish-config
175 (let ((port (open-file "etc/config.fish" "a")))
176 (display (string-append
178 "# Patched by Guix.\n"
179 "# Source /etc/fish/config.fish.\n"
180 "if test -f /etc/fish/config.fish\n"
181 " source /etc/fish/config.fish\n"
186 ;; Embed absolute paths.
187 (add-before 'install 'embed-absolute-paths
189 (substitute* "share/functions/__fish_print_help.fish"
190 (("nroff") (which "nroff")))
192 ;; Enable completions, functions and configurations in user's and
193 ;; system's guix profiles by adding them to __extra_* variables.
194 (add-before 'install 'patch-fish-extra-paths
196 (let ((port (open-file "share/__fish_build_paths.fish" "a")))
200 "# Patched by Guix.\n"
201 "# Enable completions, functions and configurations in user's"
202 " and system's guix profiles by adding them to __extra_*"
204 "set -l __guix_profile_paths ~/.guix-profile"
205 " /run/current-system/profile\n"
206 "set __extra_completionsdir"
207 " $__guix_profile_paths\"/etc/fish/completions\""
208 " $__guix_profile_paths\"/share/fish/vendor_completions.d\""
209 " $__extra_completionsdir\n"
210 "set __extra_functionsdir"
211 " $__guix_profile_paths\"/etc/fish/functions\""
212 " $__guix_profile_paths\"/share/fish/vendor_functions.d\""
213 " $__extra_functionsdir\n"
214 "set __extra_confdir"
215 " $__guix_profile_paths\"/etc/fish/conf.d\""
216 " $__guix_profile_paths\"/share/fish/vendor_conf.d\""
217 " $__extra_confdir\n")
221 ;; Use fish-foreign-env to source /etc/profile.
222 (add-before 'install 'source-etc-profile
223 (lambda* (#:key inputs #:allow-other-keys)
224 (let ((port (open-file "share/__fish_build_paths.fish" "a")))
228 "# Patched by Guix.\n"
229 "# Use fish-foreign-env to source /etc/profile.\n"
230 "if status is-login\n"
231 " set fish_function_path "
232 (assoc-ref inputs "fish-foreign-env") "/share/fish/functions"
233 " $__fish_datadir/functions\n"
234 " fenv source /etc/profile\n"
235 " set -e fish_function_path\n"
240 (synopsis "The friendly interactive shell")
242 "Fish (friendly interactive shell) is a shell focused on interactive use,
243 discoverability, and friendliness. Fish has very user-friendly and powerful
244 tab-completion, including descriptions of every completion, completion of
245 strings with wildcards, and many completions for specific commands. It also
246 has extensive and discoverable help. A special @command{help} command gives
247 access to all the fish documentation in your web browser. Other features
248 include smart terminal handling based on terminfo, an easy to search history,
249 and syntax highlighting.")
250 (home-page "https://fishshell.com/")
253 (define-public fish-foreign-env
255 (name "fish-foreign-env")
256 (version "0.20190116")
261 (url "https://github.com/oh-my-fish/plugin-foreign-env")
262 (commit "dddd9213272a0ab848d474d0cbde12ad034e65bc")))
263 (file-name (git-file-name name version))
265 (base32 "00xqlyl3lffc5l0viin1nyp819wf81fncqyz87jx8ljjdhilmgbs"))))
266 (build-system trivial-build-system)
268 '(#:modules ((guix build utils))
271 (use-modules (guix build utils))
272 (let* ((source (assoc-ref %build-inputs "source"))
273 (out (assoc-ref %outputs "out"))
274 (func-path (string-append out "/share/fish/functions")))
276 (copy-recursively (string-append source "/functions")
279 ;; Embed absolute paths.
280 (substitute* `(,(string-append func-path "/fenv.fish")
281 ,(string-append func-path "/fenv.apply.fish")
282 ,(string-append func-path "/fenv.main.fish"))
284 (string-append (assoc-ref %build-inputs "bash") "/bin/bash"))
286 (string-append (assoc-ref %build-inputs "sed") "/bin/sed"))
288 (string-append " " (assoc-ref %build-inputs "coreutils")
292 ("coreutils" ,coreutils)
294 (home-page "https://github.com/oh-my-fish/plugin-foreign-env")
295 (synopsis "Foreign environment interface for fish shell")
296 (description "@code{fish-foreign-env} wraps bash script execution in a way
297 that environment variables that are exported or modified get imported back
308 (url "https://github.com/rakitzis/rc")
309 (commit (string-append "v" version))))
312 "0vj1h4pcg13vxsiydmmk87dr2sra9h4gwx0c4q6fjsiw4in78rrd"))
313 (file-name (git-file-name name version))))
314 (build-system gnu-build-system)
319 (modify-phases %standard-phases
320 (add-before 'bootstrap 'patch-trip.rc
322 (substitute* "trip.rc"
323 (("/bin/pwd") (which "pwd"))
324 (("/bin/sh") (which "sh"))
325 (("/bin/rm") (which "rm"))
326 (("/bin\\)") (string-append (dirname (which "rm")) ")")))
328 (inputs `(("readline" ,readline)
330 (native-inputs `(("autoconf" ,autoconf)
331 ("automake" ,automake)
333 ("pkg-config" ,pkg-config)))
334 (synopsis "Alternative implementation of the rc shell by Byron Rakitzis")
336 "This is a reimplementation by Byron Rakitzis of the Plan 9 shell. It
337 has a small feature set similar to a traditional Bourne shell.")
338 (home-page "https://github.com/rakitzis/rc")
348 (uri (string-append "https://github.com/wryun/es-shell/releases/"
349 "download/v" version "/es-" version ".tar.gz"))
352 "1fplzxc6lncz2lv2fyr2ig23rgg5j96rm2bbl1rs28mik771zd5h"))
353 (file-name (string-append name "-" version ".tar.gz"))))
354 (build-system gnu-build-system)
356 `(#:test-target "test"
358 (modify-phases %standard-phases
359 (add-before 'configure 're-enter-rootdir
360 ;; The tarball has no folder.
364 `(("readline" ,readline)))
367 (synopsis "Extensible shell with higher-order functions")
369 "Es is an extensible shell. The language was derived from the Plan 9
370 shell, rc, and was influenced by functional programming languages, such as
371 Scheme, and the Tcl embeddable programming language. This implementation is
372 derived from Byron Rakitzis's public domain implementation of rc, and was
373 written by Paul Haahr and Byron Rakitzis.")
374 (home-page "https://wryun.github.io/es-shell/")
375 (license public-domain)))
383 ;; Old tarballs are moved to old/.
384 (uri (list (string-append "ftp://ftp.astron.com/pub/tcsh/"
385 "tcsh-" version ".tar.gz")
386 (string-append "ftp://ftp.astron.com/pub/tcsh/"
387 "old/tcsh-" version ".tar.gz")))
390 "0nw8prz1n0lmr82wnpyhrzmki630afn7p9cfgr3vl00vr9c72a7d"))
391 (patches (search-patches "tcsh-fix-autotest.patch"))
392 (patch-flags '("-p0"))))
393 (build-system gnu-build-system)
395 `(("autoconf" ,autoconf)
398 `(("ncurses" ,ncurses)))
401 (modify-phases %standard-phases
402 ,@(if (%current-target-system)
403 '((add-before 'configure 'set-cross-cc
405 (substitute* "configure"
406 (("CC_FOR_GETHOST=\"cc\"")
407 "CC_FOR_GETHOST=\"gcc\""))
410 (add-before 'check 'patch-test-scripts
413 (substitute* '("tests/commands.at" "tests/variables.at")
414 (("/bin/pwd") (which "pwd")))
415 ;; The .at files create shell scripts without shebangs. Erk.
416 (substitute* "tests/commands.at"
417 (("./output.sh") "/bin/sh output.sh"))
418 (substitute* "tests/syntax.at"
419 (("; other_script.csh") "; /bin/sh other_script.csh"))
420 ;; Now, let's generate the test suite and patch it
421 (invoke "make" "tests/testsuite")
423 ;; This file is ISO-8859-1 encoded.
424 (with-fluids ((%default-port-encoding #f))
425 (substitute* "tests/testsuite"
426 (("/bin/sh") (which "sh"))))
428 (add-after 'install 'post-install
429 (lambda* (#:key inputs outputs #:allow-other-keys)
430 (let* ((out (assoc-ref %outputs "out"))
431 (bin (string-append out "/bin")))
432 (with-directory-excursion bin
433 (symlink "tcsh" "csh"))
435 (home-page "https://www.tcsh.org/")
436 (synopsis "Unix shell based on csh")
438 "Tcsh is an enhanced, but completely compatible version of the Berkeley
439 UNIX C shell (csh). It is a command language interpreter usable both as an
440 interactive login shell and a shell script command processor. It includes a
441 command-line editor, programmable word completion, spelling correction, a
442 history mechanism, job control and a C-like syntax.")
451 (uri (list (string-append
452 "https://www.zsh.org/pub/zsh-" version
455 "https://www.zsh.org/pub/old/zsh-" version
459 "09yyaadq738zlrnlh1hd3ycj1mv3q5hh4xl1ank70mjnqm6bbi6w"))))
460 (build-system gnu-build-system)
461 (arguments `(#:configure-flags
464 "--enable-maildir-support"
465 ;; share/zsh/site-functions isn't populated
466 "--disable-site-fndir"
468 "--enable-additional-fpath="
469 "/usr/local/share/zsh/site-functions," ; for foreign OS
470 "/run/current-system/profile/share/zsh/site-functions"))
472 (modify-phases %standard-phases
473 (add-before 'configure 'fix-sh
475 ;; Some of the files are ISO-8859-1 encoded.
476 (with-fluids ((%default-port-encoding #f))
482 "Config/installfns.sh"
484 "Test/E01options.ztst"
485 "Test/A05execution.ztst"
486 "Test/A01grammar.ztst"
487 "Test/A06assign.ztst"
488 "Test/B02typeset.ztst"
489 "Completion/Unix/Command/_init_d"
491 (("/bin/sh") (which "sh"))))))
492 (add-before 'check 'patch-test
494 ;; In Zsh, `command -p` searches a predefined set of
495 ;; paths that don't exist in the build environment. See
496 ;; the assignment of 'path' in Src/init.c'
497 (substitute* "Test/A01grammar.ztst"
498 (("command -pv") "command -v")
499 (("command -p") "command ")
500 (("'command' -p") "'command' "))
502 (native-inputs `(("autoconf" ,autoconf)))
503 (inputs `(("ncurses" ,ncurses)
506 (synopsis "Powerful shell for interactive use and scripting")
507 (description "The Z shell (zsh) is a Unix shell that can be used
508 as an interactive login shell and as a powerful command interpreter
509 for shell scripting. Zsh can be thought of as an extended Bourne shell
510 with a large number of improvements, including some features of bash,
512 (home-page "https://www.zsh.org/")
514 ;; The whole thing is under an MIT/X11-style license, but there's one
515 ;; command, 'Completion/Unix/Command/_darcs', which is under GPLv2+.
525 (uri (pypi-uri "xonsh" version))
527 (base32 "0q1xy0k5mvz4031p4d3y0j7ljpx32rmpk21jy148l6xcss039br0"))
528 (modules '((guix build utils)))
531 ;; Delete bundled PLY.
532 (delete-file-recursively "xonsh/ply")
533 (substitute* "setup.py"
534 (("\"xonsh\\.ply\\.ply\",") ""))
535 ;; Use our properly packaged PLY instead.
536 (substitute* (list "setup.py"
537 "tests/test_lexer.py"
538 "xonsh/__amalgam__.py"
540 "xonsh/parsers/base.py"
542 (("from xonsh\\.ply\\.(.*) import" _ module)
543 (format #f "from ~a import" module))
544 (("from xonsh\\.ply import") "import"))
546 (build-system python-build-system)
548 '(;; TODO Try running run the test suite.
549 ;; See 'requirements-tests.txt' in the source distribution for more
553 `(("python-ply" ,python-ply)))
554 (home-page "https://xon.sh/")
555 (synopsis "Python-ish shell")
557 "Xonsh is a Python-ish, BASHwards-looking shell language and command
558 prompt. The language is a superset of Python 3.4+ with additional shell
559 primitives that you are used to from Bash and IPython. It works on all major
560 systems including Linux, Mac OSX, and Windows. Xonsh is meant for the daily
561 use of experts and novices alike.")
565 (let ((commit "114432435e4eadd54334df6b37fcae505079b49f")
569 (version (string-append "0.0.0-" revision "." (string-take commit 7)))
574 (url "https://github.com/scheme/scsh")
576 (file-name (string-append name "-" version "-checkout"))
579 "1ghk08akiz7hff1pndi8rmgamgcrn2mv9asbss9l79d3c2iaav3q"))))
580 (build-system gnu-build-system)
582 `(#:test-target "test"
584 (modify-phases %standard-phases
585 (add-before 'configure 'replace-rx
586 (lambda* (#:key inputs #:allow-other-keys)
587 (let* ((rx (assoc-ref inputs "scheme48-rx"))
588 (rxpath (string-append rx "/share/scheme48-"
589 ,(package-version scheme48)
591 (delete-file-recursively "rx")
592 (symlink rxpath "rx"))
595 `(("scheme48" ,scheme48)
596 ("scheme48-rx" ,scheme48-rx)))
598 `(("autoconf" ,autoconf)
599 ("automake" ,automake)))
600 (home-page "https://github.com/scheme/scsh")
601 (synopsis "Unix shell embedded in Scheme")
603 "Scsh is a Unix shell embedded in Scheme. Scsh has two main
604 components: a process notation for running programs and setting up pipelines
605 and redirections, and a complete syscall library for low-level access to the
609 (define-public linenoise
610 (let ((commit "2105ce445821381cf1bca87b6d386d4ea88ee20d")
614 (version (string-append "1.0-" revision "." (string-take commit 7)))
619 (url "https://github.com/antirez/linenoise")
621 (file-name (string-append name "-" version "-checkout"))
624 "1z16qwix8z6a40fskdgxsibkqgdrp4q6ncp4n6hnv4r9iihy2d8r"))))
625 (build-system gnu-build-system)
627 `(#:tests? #f ; no tests are included
629 (list ,(string-append "CC=" (cc-for-target)))
631 (modify-phases %standard-phases
634 (lambda* (#:key outputs #:allow-other-keys)
635 ;; At the moment there is no 'make install' in upstream.
636 (let* ((out (assoc-ref outputs "out")))
637 (install-file "linenoise.h"
638 (string-append out "/include/linenoise"))
639 (install-file "linenoise.c"
640 (string-append out "/include/linenoise"))
642 (home-page "https://github.com/antirez/linenoise")
643 (synopsis "Minimal zero-config readline replacement")
645 "Linenoise is a minimal, zero-config, readline replacement.
646 Its features include:
649 @item Single and multi line editing mode with the usual key bindings
650 @item History handling
652 @item Hints (suggestions at the right of the prompt as you type)
653 @item A subset of VT100 escapes, ANSI.SYS compatible
657 (define-public s-shell
658 (let ((commit "da2e5c20c0c5f477ec3426dc2584889a789b1659")
662 (version (git-version "0.0.0" revision commit))
667 (url "https://github.com/rain-1/s")
669 (file-name (string-append name "-" version "-checkout"))
672 "0qiny71ww5nhzy4mnc8652hn0mlxyb67h333gbdxp4j4qxsi13q4"))))
673 (build-system gnu-build-system)
675 `(("linenoise" ,linenoise)))
678 #:make-flags (list "CC=gcc"
679 (string-append "PREFIX="
680 (assoc-ref %outputs "out")))
682 (modify-phases %standard-phases
683 (add-after 'unpack 'install-directory-fix
684 (lambda* (#:key outputs #:allow-other-keys)
685 (let* ((out (assoc-ref outputs "out"))
686 (bin (string-append out "/bin")))
687 (substitute* "Makefile"
690 (add-after 'install 'manpage
691 (lambda* (#:key outputs #:allow-other-keys)
692 (install-file "s.1" (string-append (assoc-ref outputs "out")
693 "/share/man/man1"))))
695 (lambda* (#:key inputs outputs #:allow-other-keys)
696 ;; At this point linenoise is meant to be included,
697 ;; so we have to really copy it into the working directory
699 (let* ((linenoise (assoc-ref inputs "linenoise"))
700 (noisepath (string-append linenoise "/include/linenoise"))
701 (out (assoc-ref outputs "out")))
702 (copy-recursively noisepath "linenoise")
704 (("/bin/s") (string-append out "/bin/s")))
706 (home-page "https://github.com/rain-1/s")
707 (synopsis "Extremely minimal shell with the simplest syntax possible")
709 "S is a new shell that aims to be extremely simple. It does not
710 implement the POSIX shell standard.
712 There are no globs or \"splatting\" where a variable $FOO turns into multiple
713 command line arguments. One token stays one token forever.
714 This is a \"no surprises\" straightforward approach.
716 There are no redirection operators > in the shell language, they are added as
717 extra programs. > is just another unix command, < is essentially cat(1).
718 A @code{andglob} program is also provided along with s.")
728 (uri (string-append "https://connochaetos.org/oksh/oksh-"
732 "0ln9yf6pxngsviqszv8klnnvn8vcpplvj1njdn8xr2y8frkbw8r3"))))
733 (build-system gnu-build-system)
735 `(; The test files are not part of the distributed tarball.
737 (home-page "https://connochaetos.org/oksh")
738 (synopsis "Port of OpenBSD Korn Shell")
740 "Oksh is a port of the OpenBSD Korn Shell.
741 The OpenBSD Korn Shell is a cleaned up and enhanced ksh.")
752 (url "https://github.com/dimkr/loksh")
754 (file-name (git-file-name name version))
756 (base32 "1a8s64n97ikvvi7ckirxnnjvcmhr3dd4rnqm2ivapyzb0wp42jk7"))))
757 (build-system gnu-build-system)
760 ("ncurses" ,ncurses)))
762 `(("pkg-config" ,pkg-config)))
764 `(#:tests? #f ; no tests included
765 #:make-flags (list "CC=gcc" "HAVE_LIBBSD=1"
766 (string-append "PREFIX="
767 (assoc-ref %outputs "out")))
769 (modify-phases %standard-phases
770 (delete 'configure)))) ; no configure script
771 (home-page "https://github.com/dimkr/loksh")
772 (synopsis "Korn Shell from OpenBSD")
774 "loksh is a Linux port of OpenBSD's @command{ksh}. It is a small,
775 interactive POSIX shell targeted at resource-constrained systems.")
776 ;; The file 'LEGAL' says it is the public domain, and the 2
777 ;; exceptions which are listed are not included in this port.
778 (license public-domain)))
787 (uri (string-append "https://www.mirbsd.org/MirOS/dist/mir/mksh/mksh-R"
790 (base32 "1337zjvzh14yncg9igdry904a3ns52l8rnm1kcq262w7f5xyp2v0"))))
791 (build-system gnu-build-system)
793 `(#:tests? #f ; tests require access to /dev/tty
795 (modify-phases %standard-phases
800 (invoke (which "sh") "Build.sh")))
802 (lambda* (#:key outputs #:allow-other-keys)
803 (let* ((out (assoc-ref outputs "out"))
804 (bin (string-append out "/bin"))
805 (man (string-append out "/share/man/man1")))
806 (install-file "mksh" bin)
807 (with-directory-excursion bin
808 (symlink "mksh" "ksh"))
809 (install-file "mksh.1" man)
811 (home-page "https://www.mirbsd.org/mksh.htm")
812 (synopsis "Korn Shell from MirBSD")
813 (description "mksh is an actively developed free implementation of the
814 Korn Shell programming language and a successor to the Public Domain Korn
826 (uri (string-append "https://www.oilshell.org/download/oil-"
829 (base32 "0yxd020jkwhhvq2l8hd9npp2vn6fvm11f0izfzwdl2npbnc976jr"))))
830 (build-system gnu-build-system)
832 `(#:strip-binaries? #f ; strip breaks the binary
834 (modify-phases %standard-phases
836 (lambda* (#:key outputs #:allow-other-keys)
837 (let ((out (assoc-ref outputs "out")))
838 (setenv "CC" ,(cc-for-target))
839 (substitute* "configure"
841 (invoke "./configure" (string-append "--prefix=" out)
842 "--with-readline"))))
844 ;; The tests are not distributed in the tarballs but upstream
845 ;; recommends running this smoke test.
846 ;; https://github.com/oilshell/oil/blob/release/0.8.0/INSTALL.txt#L38-L48
848 (let* ((oil "_bin/oil.ovm"))
849 (invoke/quiet oil "osh" "-c" "echo hi")
850 (invoke/quiet oil "osh" "-n" "configure")))))))
852 `(("readline" ,readline)))
853 (home-page "https://www.oilshell.org")
854 (synopsis "Programming language and Bash-compatible Unix shell")
855 (description "Oil is a programming language with automatic translation for
856 Bash. It includes osh, a Unix/POSIX shell that runs unmodified Bash
858 (license (list psfl ; tarball includes python2.7
861 (define-public oil-shell
862 (deprecated-package "oil-shell" oil))
869 (origin (method url-fetch)
870 (uri (string-append "mirror://savannah/gash/gash-"
874 "13m0yz5h9nj3x40mr6wr5xcpq1lscndfwcicw3skrz801025hhgf"))
875 (modules '((guix build utils)))
878 ;; Allow builds with Guile 3.0.
879 (substitute* "configure"
880 (("search=\"2\\.2 2\\.0\"")
881 "search=\"3.0 2.2 2.0\""))
883 (build-system gnu-build-system)
885 `(("pkg-config" ,pkg-config)))
887 `(("guile" ,guile-3.0)))
889 '(#:make-flags '("XFAIL_TESTS=tests/redirects.org")))
890 (home-page "https://savannah.nongnu.org/projects/gash/")
891 (synopsis "POSIX-compatible shell written in Guile Scheme")
892 (description "Gash is a POSIX-compatible shell written in Guile
893 Scheme. It provides both the shell interface, as well as a Guile
894 library for parsing shell scripts. Gash is designed to bootstrap Bash
895 as part of the Guix bootstrap process.")
898 (define-public gash-utils
904 (uri (string-append "mirror://savannah/gash/gash-utils-"
908 "0ib2p52qmbac5n0s5bys4fiwim461ps546976l1n7pwbs0avh7fk"))
909 (patches (search-patches "gash-utils-ls-test.patch"))
910 (modules '((guix build utils)))
913 ;; Allow builds with Guile 3.0.
914 (substitute* "configure"
915 (("search=\"2\\.2 2\\.0\"")
916 "search=\"3.0 2.2 2.0\""))
918 (build-system gnu-build-system)
920 `(("pkg-config" ,pkg-config)))
922 `(("guile" ,guile-3.0)
924 (home-page "https://savannah.nongnu.org/projects/gash/")
925 (synopsis "Core POSIX utilities written in Guile Scheme")
926 (description "Gash-Utils provides Scheme implementations of many
927 common POSIX utilities (there are about 40 of them, ranging in
928 complexity from @command{false} to @command{awk}). The utilities are
929 designed to be capable of bootstrapping their standard GNU counterparts.
930 Underpinning these utilities are many Scheme interfaces for manipulating
934 (define-public rust-nu-cli-0.26
941 (uri (crate-uri "nu-cli" version))
942 (file-name (string-append name "-" version ".tar.gz"))
944 (base32 "1cm560qksr7j55kwfxldfp9ry25dbwnw6l3lmm3pbc0hfwdp1w0r"))))
945 (build-system cargo-build-system)
949 (("rust-ansi-term" ,rust-ansi-term-0.12)
950 ("rust-arboard" ,rust-arboard-1)
951 ("rust-async-recursion" ,rust-async-recursion-0.3)
952 ("rust-async-trait" ,rust-async-trait-0.1)
953 ("rust-base64" ,rust-base64-0.13)
954 ("rust-bigdecimal" ,rust-bigdecimal-0.2)
955 ("rust-byte-unit" ,rust-byte-unit-4)
956 ("rust-bytes" ,rust-bytes-0.5)
957 ("rust-calamine" ,rust-calamine-0.16)
958 ("rust-chrono" ,rust-chrono-0.4)
959 ("rust-chrono-tz" ,rust-chrono-tz-0.5)
960 ("rust-clap" ,rust-clap-2)
961 ("rust-codespan-reporting" ,rust-codespan-reporting-0.11)
962 ("rust-csv" ,rust-csv-1)
963 ("rust-ctrlc" ,rust-ctrlc-3)
964 ("rust-derive-new" ,rust-derive-new-0.5)
965 ("rust-directories-next" ,rust-directories-next-2)
966 ("rust-dirs-next" ,rust-dirs-next-2)
967 ("rust-dtparse" ,rust-dtparse-1)
968 ("rust-dunce" ,rust-dunce-1)
969 ("rust-eml-parser" ,rust-eml-parser-0.1)
970 ("rust-encoding-rs" ,rust-encoding-rs-0.8)
971 ("rust-filesize" ,rust-filesize-0.2)
972 ("rust-fs-extra" ,rust-fs-extra-1)
973 ("rust-futures" ,rust-futures-0.3)
974 ("rust-futures-util" ,rust-futures-util-0.3)
975 ("rust-futures-codec" ,rust-futures-codec-0.4)
976 ("rust-getset" ,rust-getset-0.1)
977 ("rust-glob" ,rust-glob-0.3)
978 ("rust-htmlescape" ,rust-htmlescape-0.3)
979 ("rust-ical" ,rust-ical-0.7)
980 ("rust-ichwh" ,rust-ichwh-0.3)
981 ("rust-indexmap" ,rust-indexmap-1)
982 ("rust-inflector" ,rust-inflector-0.11)
983 ("rust-itertools" ,rust-itertools-0.10)
984 ("rust-lazy-static" ,rust-lazy-static-1)
985 ("rust-log" ,rust-log-0.4)
986 ("rust-meval" ,rust-meval-0.2)
987 ("rust-nu-command" ,rust-nu-command-0.26)
988 ("rust-nu-data" ,rust-nu-data-0.26)
989 ("rust-nu-engine" ,rust-nu-engine-0.26)
990 ("rust-nu-errors" ,rust-nu-errors-0.26)
991 ("rust-nu-json" ,rust-nu-json-0.26)
992 ("rust-nu-parser" ,rust-nu-parser-0.26)
993 ("rust-nu-plugin" ,rust-nu-plugin-0.26)
994 ("rust-nu-protocol" ,rust-nu-protocol-0.26)
995 ("rust-nu-source" ,rust-nu-source-0.26)
996 ("rust-nu-stream" ,rust-nu-stream-0.26)
997 ("rust-nu-table" ,rust-nu-table-0.26)
998 ("rust-nu-test-support" ,rust-nu-test-support-0.26)
999 ("rust-nu-value-ext" ,rust-nu-value-ext-0.26)
1000 ("rust-num-bigint" ,rust-num-bigint-0.3)
1001 ("rust-num-format" ,rust-num-format-0.4)
1002 ("rust-num-traits" ,rust-num-traits-0.2)
1003 ("rust-parking-lot" ,rust-parking-lot-0.11)
1004 ("rust-pin-utils" ,rust-pin-utils-0.1)
1005 ("rust-pretty-hex" ,rust-pretty-hex-0.2)
1006 ("rust-ptree" ,rust-ptree-0.3)
1007 ("rust-query-interface" ,rust-query-interface-0.3)
1008 ("rust-quick-xml" ,rust-quick-xml-0.20)
1009 ("rust-quickcheck-macros" ,rust-quickcheck-macros-0.9)
1010 ("rust-rand" ,rust-rand-0.7)
1011 ("rust-rayon" ,rust-rayon-1)
1012 ("rust-regex" ,rust-regex-1)
1013 ("rust-roxmltree" ,rust-roxmltree-0.14)
1014 ("rust-rusqlite" ,rust-rusqlite-0.24)
1015 ("rust-rust-embed" ,rust-rust-embed-5)
1016 ("rust-rustyline" ,rust-rustyline-6)
1017 ("rust-serde" ,rust-serde-1)
1018 ("rust-serde-bytes" ,rust-serde-bytes-0.11)
1019 ("rust-serde-ini" ,rust-serde-ini-0.2)
1020 ("rust-serde-json" ,rust-serde-json-1)
1021 ("rust-serde-urlencoded" ,rust-serde-urlencoded-0.7)
1022 ("rust-serde-yaml" ,rust-serde-yaml-0.8)
1023 ("rust-sha2" ,rust-sha2-0.9)
1024 ("rust-shadow-rs" ,rust-shadow-rs-0.5)
1025 ("rust-shadow-rs" ,rust-shadow-rs-0.5)
1026 ("rust-shellexpand" ,rust-shellexpand-2)
1027 ("rust-strip-ansi-escapes" ,rust-strip-ansi-escapes-0.1)
1028 ("rust-sxd-document" ,rust-sxd-document-0.3)
1029 ("rust-sxd-xpath" ,rust-sxd-xpath-0.4)
1030 ("rust-tempfile" ,rust-tempfile-3)
1031 ("rust-term" ,rust-term-0.6)
1032 ("rust-term-size" ,rust-term-size-0.3)
1033 ("rust-termcolor" ,rust-termcolor-1)
1034 ("rust-titlecase" ,rust-titlecase-1)
1035 ("rust-toml" ,rust-toml-0.5)
1036 ("rust-trash" ,rust-trash-1)
1037 ("rust-umask" ,rust-umask-1)
1038 ("rust-unicode-segmentation" ,rust-unicode-segmentation-1)
1039 ("rust-url" ,rust-url-2)
1040 ("rust-users" ,rust-users-0.10)
1041 ("rust-uuid" ,rust-uuid-0.8)
1042 ("rust-which" ,rust-which-4)
1043 ("rust-zip" ,rust-zip-0.5))))
1044 (home-page "https://www.nushell.sh")
1045 (synopsis "CLI for nushell")
1046 (description "CLI for nushell")
1049 (define-public rust-nu-command-0.26
1051 (name "rust-nu-command")
1056 (uri (crate-uri "nu-command" version))
1057 (file-name (string-append name "-" version ".tar.gz"))
1059 (base32 "0kqip12aw38c6wa9blzmk4xyndjgm4k23iiaw2187vsanh0h53q7"))))
1060 (build-system cargo-build-system)
1064 (("rust-ansi-term" ,rust-ansi-term-0.12)
1065 ("rust-arboard" ,rust-arboard-1)
1066 ("rust-async-recursion" ,rust-async-recursion-0.3)
1067 ("rust-async-trait" ,rust-async-trait-0.1)
1068 ("rust-base64" ,rust-base64-0.13)
1069 ("rust-bigdecimal" ,rust-bigdecimal-0.2)
1070 ("rust-byte-unit" ,rust-byte-unit-4)
1071 ("rust-bytes" ,rust-bytes-0.5)
1072 ("rust-calamine" ,rust-calamine-0.16)
1073 ("rust-chrono" ,rust-chrono-0.4)
1074 ("rust-chrono-tz" ,rust-chrono-tz-0.5)
1075 ("rust-clap" ,rust-clap-2)
1076 ("rust-codespan-reporting" ,rust-codespan-reporting-0.11)
1077 ("rust-csv" ,rust-csv-1)
1078 ("rust-ctrlc" ,rust-ctrlc-3)
1079 ("rust-derive-new" ,rust-derive-new-0.5)
1080 ("rust-directories-next" ,rust-directories-next-2)
1081 ("rust-dirs-next" ,rust-dirs-next-2)
1082 ("rust-dtparse" ,rust-dtparse-1)
1083 ("rust-dunce" ,rust-dunce-1)
1084 ("rust-eml-parser" ,rust-eml-parser-0.1)
1085 ("rust-encoding-rs" ,rust-encoding-rs-0.8)
1086 ("rust-filesize" ,rust-filesize-0.2)
1087 ("rust-fs-extra" ,rust-fs-extra-1)
1088 ("rust-futures" ,rust-futures-0.3)
1089 ("rust-futures-util" ,rust-futures-util-0.3)
1090 ("rust-futures-codec" ,rust-futures-codec-0.4)
1091 ("rust-getset" ,rust-getset-0.1)
1092 ("rust-glob" ,rust-glob-0.3)
1093 ("rust-htmlescape" ,rust-htmlescape-0.3)
1094 ("rust-ical" ,rust-ical-0.7)
1095 ("rust-ichwh" ,rust-ichwh-0.3)
1096 ("rust-indexmap" ,rust-indexmap-1)
1097 ("rust-inflector" ,rust-inflector-0.11)
1098 ("rust-itertools" ,rust-itertools-0.10)
1099 ("rust-lazy-static" ,rust-lazy-static-1)
1100 ("rust-log" ,rust-log-0.4)
1101 ("rust-meval" ,rust-meval-0.2)
1102 ("rust-nu-data" ,rust-nu-data-0.26)
1103 ("rust-nu-engine" ,rust-nu-engine-0.26)
1104 ("rust-nu-errors" ,rust-nu-errors-0.26)
1105 ("rust-nu-json" ,rust-nu-json-0.26)
1106 ("rust-nu-parser" ,rust-nu-parser-0.26)
1107 ("rust-nu-plugin" ,rust-nu-plugin-0.26)
1108 ("rust-nu-protocol" ,rust-nu-protocol-0.26)
1109 ("rust-nu-source" ,rust-nu-source-0.26)
1110 ("rust-nu-stream" ,rust-nu-stream-0.26)
1111 ("rust-nu-table" ,rust-nu-table-0.26)
1112 ("rust-nu-test-support" ,rust-nu-test-support-0.26)
1113 ("rust-nu-value-ext" ,rust-nu-value-ext-0.26)
1114 ("rust-num-bigint" ,rust-num-bigint-0.3)
1115 ("rust-num-format" ,rust-num-format-0.4)
1116 ("rust-num-traits" ,rust-num-traits-0.2)
1117 ("rust-parking-lot" ,rust-parking-lot-0.11)
1118 ("rust-pin-utils" ,rust-pin-utils-0.1)
1119 ("rust-pretty-hex" ,rust-pretty-hex-0.2)
1120 ("rust-ptree" ,rust-ptree-0.3)
1121 ("rust-query-interface" ,rust-query-interface-0.3)
1122 ("rust-quick-xml" ,rust-quick-xml-0.20)
1123 ("rust-rand" ,rust-rand-0.7)
1124 ("rust-rayon" ,rust-rayon-1)
1125 ("rust-regex" ,rust-regex-1)
1126 ("rust-roxmltree" ,rust-roxmltree-0.14)
1127 ("rust-rusqlite" ,rust-rusqlite-0.24)
1128 ("rust-rust-embed" ,rust-rust-embed-5)
1129 ("rust-rustyline" ,rust-rustyline-6)
1130 ("rust-serde" ,rust-serde-1)
1131 ("rust-serde-bytes" ,rust-serde-bytes-0.11)
1132 ("rust-serde-ini" ,rust-serde-ini-0.2)
1133 ("rust-serde-json" ,rust-serde-json-1)
1134 ("rust-serde-urlencoded" ,rust-serde-urlencoded-0.7)
1135 ("rust-serde-yaml" ,rust-serde-yaml-0.8)
1136 ("rust-sha2" ,rust-sha2-0.9)
1137 ("rust-shadow-rs" ,rust-shadow-rs-0.5)
1138 ("rust-shellexpand" ,rust-shellexpand-2)
1139 ("rust-strip-ansi-escapes" ,rust-strip-ansi-escapes-0.1)
1140 ("rust-sxd-document" ,rust-sxd-document-0.3)
1141 ("rust-sxd-xpath" ,rust-sxd-xpath-0.4)
1142 ("rust-tempfile" ,rust-tempfile-3)
1143 ("rust-term" ,rust-term-0.6)
1144 ("rust-term-size" ,rust-term-size-0.3)
1145 ("rust-termcolor" ,rust-termcolor-1)
1146 ("rust-titlecase" ,rust-titlecase-1)
1147 ("rust-toml" ,rust-toml-0.5)
1148 ("rust-trash" ,rust-trash-1)
1149 ("rust-umask" ,rust-umask-1)
1150 ("rust-unicode-segmentation" ,rust-unicode-segmentation-1)
1151 ("rust-url" ,rust-url-2)
1152 ("rust-users" ,rust-users-0.10)
1153 ("rust-uuid" ,rust-uuid-0.8)
1154 ("rust-which" ,rust-which-4)
1155 ("rust-zip" ,rust-zip-0.5))))
1156 (home-page "https://www.nushell.sh")
1157 (synopsis "CLI for nushell")
1158 (description "CLI for nushell")
1161 (define-public rust-nu-data-0.26
1163 (name "rust-nu-data")
1168 (uri (crate-uri "nu-data" version))
1169 (file-name (string-append name "-" version ".tar.gz"))
1171 (base32 "1jmicfs49laczgvif5axv2gb0c52hrfxvf3ywi7iinr7n8h1sfpx"))))
1172 (build-system cargo-build-system)
1176 (("rust-ansi-term" ,rust-ansi-term-0.12)
1177 ("rust-bigdecimal" ,rust-bigdecimal-0.2)
1178 ("rust-byte-unit" ,rust-byte-unit-4)
1179 ("rust-chrono" ,rust-chrono-0.4)
1180 ("rust-derive-new" ,rust-derive-new-0.5)
1181 ("rust-directories-next" ,rust-directories-next-2)
1182 ("rust-dirs-next" ,rust-dirs-next-2)
1183 ("rust-getset" ,rust-getset-0.1)
1184 ("rust-indexmap" ,rust-indexmap-1)
1185 ("rust-log" ,rust-log-0.4)
1186 ("rust-nu-errors" ,rust-nu-errors-0.26)
1187 ("rust-nu-protocol" ,rust-nu-protocol-0.26)
1188 ("rust-nu-source" ,rust-nu-source-0.26)
1189 ("rust-nu-table" ,rust-nu-table-0.26)
1190 ("rust-nu-test-support" ,rust-nu-test-support-0.26)
1191 ("rust-nu-value-ext" ,rust-nu-value-ext-0.26)
1192 ("rust-num-bigint" ,rust-num-bigint-0.3)
1193 ("rust-num-format" ,rust-num-format-0.4)
1194 ("rust-num-traits" ,rust-num-traits-0.2)
1195 ("rust-parking-lot" ,rust-parking-lot-0.11)
1196 ("rust-query-interface" ,rust-query-interface-0.3)
1197 ("rust-serde" ,rust-serde-1)
1198 ("rust-toml" ,rust-toml-0.5)
1199 ("rust-users" ,rust-users-0.10))))
1200 (home-page "https://www.nushell.sh")
1201 (synopsis "CLI for nushell")
1202 (description "CLI for nushell")
1205 (define-public rust-nu-engine-0.26
1207 (name "rust-nu-engine")
1212 (uri (crate-uri "nu-engine" version))
1213 (file-name (string-append name "-" version ".tar.gz"))
1215 (base32 "0fbvv8dvxzfbkyvy8iyis9xvijv794lpjfp0hrl25s0lrjykbji0"))))
1216 (build-system cargo-build-system)
1220 (("rust-ansi-term" ,rust-ansi-term-0.12)
1221 ("rust-async-recursion" ,rust-async-recursion-0.3)
1222 ("rust-async-trait" ,rust-async-trait-0.1)
1223 ("rust-bytes" ,rust-bytes-0.5)
1224 ("rust-derive-new" ,rust-derive-new-0.5)
1225 ("rust-dirs-next" ,rust-dirs-next-2)
1226 ("rust-dunce" ,rust-dunce-1)
1227 ("rust-encoding-rs" ,rust-encoding-rs-0.8)
1228 ("rust-filesize" ,rust-filesize-0.2)
1229 ("rust-fs-extra" ,rust-fs-extra-1)
1230 ("rust-futures" ,rust-futures-0.3)
1231 ("rust-futures-util" ,rust-futures-util-0.3)
1232 ("rust-futures-codec" ,rust-futures-codec-0.4)
1233 ("rust-getset" ,rust-getset-0.1)
1234 ("rust-glob" ,rust-glob-0.3)
1235 ("rust-indexmap" ,rust-indexmap-1)
1236 ("rust-itertools" ,rust-itertools-0.10)
1237 ("rust-log" ,rust-log-0.4)
1238 ("rust-nu-data" ,rust-nu-data-0.26)
1239 ("rust-nu-errors" ,rust-nu-errors-0.26)
1240 ("rust-nu-parser" ,rust-nu-parser-0.26)
1241 ("rust-nu-plugin" ,rust-nu-plugin-0.26)
1242 ("rust-nu-protocol" ,rust-nu-protocol-0.26)
1243 ("rust-nu-source" ,rust-nu-source-0.26)
1244 ("rust-nu-stream" ,rust-nu-stream-0.26)
1245 ("rust-nu-value-ext" ,rust-nu-value-ext-0.26)
1246 ("rust-parking-lot" ,rust-parking-lot-0.11)
1247 ("rust-rayon" ,rust-rayon-1)
1248 ("rust-serde" ,rust-serde-1)
1249 ("rust-serde-json" ,rust-serde-json-1)
1250 ("rust-tempfile" ,rust-tempfile-3)
1251 ("rust-term-size" ,rust-term-size-0.3)
1252 ("rust-termcolor" ,rust-termcolor-1)
1253 ("rust-umask" ,rust-umask-1)
1254 ("rust-users" ,rust-users-0.10))))
1255 (home-page "https://www.nushell.sh")
1256 (synopsis "Core commands for nushell")
1257 (description "Core commands for nushell")
1260 (define-public rust-nu-errors-0.26
1262 (name "rust-nu-errors")
1267 (uri (crate-uri "nu-errors" version))
1268 (file-name (string-append name "-" version ".tar.gz"))
1270 (base32 "0q6cbb02m9cfvjc7fcfzj814iz9ab2j2m3c3qwqskkrig4cwz3sl"))))
1271 (build-system cargo-build-system)
1275 (("rust-ansi-term" ,rust-ansi-term-0.12)
1276 ("rust-bigdecimal" ,rust-bigdecimal-0.2)
1277 ("rust-codespan-reporting" ,rust-codespan-reporting-0.11)
1278 ("rust-derive-new" ,rust-derive-new-0.5)
1279 ("rust-getset" ,rust-getset-0.1)
1280 ("rust-glob" ,rust-glob-0.3)
1281 ("rust-nu-source" ,rust-nu-source-0.26)
1282 ("rust-num-bigint" ,rust-num-bigint-0.3)
1283 ("rust-num-traits" ,rust-num-traits-0.2)
1284 ("rust-serde" ,rust-serde-1)
1285 ("rust-serde-json" ,rust-serde-json-1)
1286 ("rust-serde-yaml" ,rust-serde-yaml-0.8)
1287 ("rust-toml" ,rust-toml-0.5))))
1288 (home-page "https://www.nushell.sh")
1289 (synopsis "Core error subsystem for Nushell")
1290 (description "Core error subsystem for Nushell")
1293 (define-public rust-nu-json-0.26
1295 (name "rust-nu-json")
1300 (uri (crate-uri "nu-json" version))
1301 (file-name (string-append name "-" version ".tar.gz"))
1303 (base32 "085k9p41pqzivw6z6rxxzr8haagwqi795a2dh084qs99cyi5hj2n"))))
1304 (build-system cargo-build-system)
1308 (("rust-lazy-static" ,rust-lazy-static-1)
1309 ("rust-num-traits" ,rust-num-traits-0.2)
1310 ("rust-regex" ,rust-regex-1)
1311 ("rust-serde" ,rust-serde-0.8))))
1312 (home-page "https://www.nushell.sh")
1313 (synopsis "Fork of @code{serde-hjson}")
1314 (description "This package is a fork of @code{serde-hjson}.")
1317 (define-public rust-nu-parser-0.26
1319 (name "rust-nu-parser")
1324 (uri (crate-uri "nu-parser" version))
1325 (file-name (string-append name "-" version ".tar.gz"))
1327 (base32 "05wns7z1xifdlypklar2hb2q9515lrlwx5jl69aw3k877nmwg07p"))))
1328 (build-system cargo-build-system)
1332 (("rust-bigdecimal" ,rust-bigdecimal-0.2)
1333 ("rust-codespan-reporting" ,rust-codespan-reporting-0.11)
1334 ("rust-derive-new" ,rust-derive-new-0.5)
1335 ("rust-derive-is-enum-variant" ,rust-derive-is-enum-variant-0.1)
1336 ("rust-dunce" ,rust-dunce-1)
1337 ("rust-indexmap" ,rust-indexmap-1)
1338 ("rust-log" ,rust-log-0.4)
1339 ("rust-nu-errors" ,rust-nu-errors-0.26)
1340 ("rust-nu-protocol" ,rust-nu-protocol-0.26)
1341 ("rust-nu-source" ,rust-nu-source-0.26)
1342 ("rust-nu-test-support" ,rust-nu-test-support-0.26)
1343 ("rust-num-bigint" ,rust-num-bigint-0.3)
1344 ("rust-num-traits" ,rust-num-traits-0.2)
1345 ("rust-serde" ,rust-serde-1)
1346 ("rust-shellexpand" ,rust-shellexpand-2)
1347 ("rust-smart-default" ,rust-smart-default-0.6))))
1348 (home-page "https://www.nushell.sh")
1349 (synopsis "Nushell parser")
1350 (description "Nushell parser")
1353 (define-public rust-nu-plugin-0.26
1355 (name "rust-nu-plugin")
1360 (uri (crate-uri "nu-plugin" version))
1362 (string-append name "-" version ".tar.gz"))
1364 (base32 "1n7lf9d0dkjdnmwv60szrz22z47aq3yl946f9y20dnk7xy798bv6"))))
1365 (build-system cargo-build-system)
1369 (("rust-bigdecimal" ,rust-bigdecimal-0.2)
1370 ("rust-indexmap" ,rust-indexmap-1)
1371 ("rust-nu-errors" ,rust-nu-errors-0.26)
1372 ("rust-nu-protocol" ,rust-nu-protocol-0.26)
1373 ("rust-nu-source" ,rust-nu-source-0.26)
1374 ("rust-nu-test-support" ,rust-nu-test-support-0.26)
1375 ("rust-nu-value-ext" ,rust-nu-value-ext-0.26)
1376 ("rust-num-bigint" ,rust-num-bigint-0.3)
1377 ("rust-serde" ,rust-serde-1)
1378 ("rust-serde-json" ,rust-serde-json-1))))
1379 (home-page "https://www.nushell.sh")
1380 (synopsis "Nushell Plugin")
1381 (description "Nushell Plugin")
1384 (define-public rust-nu-plugin-selector-0.26
1386 (name "rust-nu-plugin-selector")
1391 (uri (crate-uri "nu_plugin_selector" version))
1392 (file-name (string-append name "-" version ".tar.gz"))
1394 (base32 "0vcwa4g6j8w27g2m4wkk04gja2bw8s9m72v7hbcdmfncgq4cnjrw"))))
1395 (build-system cargo-build-system)
1399 (("rust-nipper" ,rust-nipper-0.1)
1400 ("rust-nu-errors" ,rust-nu-errors-0.26)
1401 ("rust-nu-plugin" ,rust-nu-plugin-0.26)
1402 ("rust-nu-protocol" ,rust-nu-protocol-0.26)
1403 ("rust-nu-source" ,rust-nu-source-0.26))))
1404 (home-page "https://www.nushell.sh")
1405 (synopsis "Web scraping using CSS selector")
1407 "This package provides web scraping using CSS selector.")
1410 (define-public rust-nu-plugin-start-0.26
1412 (name "rust-nu-plugin-start")
1417 (uri (crate-uri "nu_plugin_start" version))
1418 (file-name (string-append name "-" version ".tar.gz"))
1420 (base32 "0k7yqjrj7ydihcpjm8wgf3v4n8w16rawvxk9hdfysgmmvzw29kk8"))))
1421 (build-system cargo-build-system)
1425 (("rust-glob" ,rust-glob-0.3)
1426 ("rust-nu-errors" ,rust-nu-errors-0.26)
1427 ("rust-nu-plugin" ,rust-nu-plugin-0.26)
1428 ("rust-nu-protocol" ,rust-nu-protocol-0.26)
1429 ("rust-nu-source" ,rust-nu-source-0.26)
1430 ("rust-open" ,rust-open-1)
1431 ("rust-url" ,rust-url-2))))
1432 (home-page "https://www.nushell.sh")
1433 (synopsis "Plugin to open files/URLs directly from Nushell")
1435 "This package provides a plugin to open files/URLs directly from
1439 (define-public rust-nu-plugin-sys-0.26
1441 (name "rust-nu-plugin-sys")
1446 (uri (crate-uri "nu_plugin_sys" version))
1448 (string-append name "-" version ".tar.gz"))
1450 (base32 "02jddzflzb173g8s6026vi0vk887h4p1q1a2cmc5g31r20z6h61p"))))
1451 (build-system cargo-build-system)
1455 (("rust-futures" ,rust-futures-0.3)
1456 ("rust-futures-util" ,rust-futures-util-0.3)
1457 ("rust-nu-errors" ,rust-nu-errors-0.26)
1458 ("rust-nu-plugin" ,rust-nu-plugin-0.26)
1459 ("rust-nu-protocol" ,rust-nu-protocol-0.26)
1460 ("rust-nu-source" ,rust-nu-source-0.26)
1461 ("rust-num-bigint" ,rust-num-bigint-0.3)
1462 ("rust-sysinfo" ,rust-sysinfo-0.16))))
1463 (home-page "https://www.nushell.sh")
1464 (synopsis "System info plugin for Nushell")
1465 (description "This package provides a system info plugin for Nushell.")
1468 (define-public rust-nu-plugin-textview-0.26
1470 (name "rust-nu-plugin-textview")
1475 (uri (crate-uri "nu_plugin_textview" version))
1476 (file-name (string-append name "-" version ".tar.gz"))
1478 (base32 "12zxphslc56n7s60i8603pq4g9iji58fg5zjvx2g6b06h83070qv"))))
1479 (build-system cargo-build-system)
1484 ("rust-ansi-term" ,rust-ansi-term-0.12)
1485 ("rust-nu-data" ,rust-nu-data-0.26)
1486 ("rust-nu-errors" ,rust-nu-errors-0.26)
1487 ("rust-nu-plugin" ,rust-nu-plugin-0.26)
1488 ("rust-nu-protocol" ,rust-nu-protocol-0.26)
1489 ("rust-nu-source" ,rust-nu-source-0.26)
1490 ("rust-term-size" ,rust-term-size-0.3)
1491 ("rust-url" ,rust-url-2))))
1492 (home-page "https://www.nushell.sh")
1493 (synopsis "Text viewer plugin for Nushell")
1494 (description "This package provides a text viewer plugin for
1498 (define-public rust-nu-plugin-to-bson-0.26
1500 (name "rust-nu-plugin-to-bson")
1505 (uri (crate-uri "nu_plugin_to_bson" version))
1506 (file-name (string-append name "-" version ".tar.gz"))
1508 (base32 "1vpd5j2z2jjqbf8ks6df76xr86rim1wr7x3y1m77c4v1icsnxgzs"))))
1509 (build-system cargo-build-system)
1513 (("rust-bson" ,rust-bson-0.14)
1514 ("rust-nu-errors" ,rust-nu-errors-0.26)
1515 ("rust-nu-plugin" ,rust-nu-plugin-0.26)
1516 ("rust-nu-protocol" ,rust-nu-protocol-0.26)
1517 ("rust-nu-source" ,rust-nu-source-0.26)
1518 ("rust-nu-value-ext" ,rust-nu-value-ext-0.26)
1519 ("rust-num-traits" ,rust-num-traits-0.2))))
1520 (home-page "https://www.nushell.sh")
1521 (synopsis "Converter plugin to the bson format for Nushell")
1523 "This package provides a converter plugin to the bson format for
1527 (define-public rust-nu-plugin-to-sqlite-0.26
1529 (name "rust-nu-plugin-to-sqlite")
1534 (uri (crate-uri "nu_plugin_to_sqlite" version))
1535 (file-name (string-append name "-" version ".tar.gz"))
1537 (base32 "05z4cwaq55rfwdvr3vr8kqdyqbzpkbrdpz1mp4d9fa9b273xs393"))))
1538 (build-system cargo-build-system)
1542 (("rust-hex" ,rust-hex-0.4)
1543 ("rust-nu-errors" ,rust-nu-errors-0.26)
1544 ("rust-nu-plugin" ,rust-nu-plugin-0.26)
1545 ("rust-nu-protocol" ,rust-nu-protocol-0.26)
1546 ("rust-nu-source" ,rust-nu-source-0.26)
1547 ("rust-nu-value-ext" ,rust-nu-value-ext-0.26)
1548 ("rust-num-traits" ,rust-num-traits-0.2)
1549 ("rust-rusqlite" ,rust-rusqlite-0.24)
1550 ("rust-tempfile" ,rust-tempfile-3))))
1551 (home-page "https://www.nushell.sh")
1552 (synopsis "Converter plugin to the bson format for Nushell")
1554 "This package provides a converter plugin to the bson format for
1558 (define-public rust-nu-plugin-tree-0.26
1560 (name "rust-nu-plugin-tree")
1565 (uri (crate-uri "nu_plugin_tree" version))
1566 (file-name (string-append name "-" version ".tar.gz"))
1568 (base32 "1q80fr430igfw9a4qa5l3ydw6xhppzhqf2i6pvfjmdgf2vhflpdr"))))
1569 (build-system cargo-build-system)
1573 (("rust-derive-new" ,rust-derive-new-0.5)
1574 ("rust-nu-errors" ,rust-nu-errors-0.26)
1575 ("rust-nu-plugin" ,rust-nu-plugin-0.26)
1576 ("rust-nu-protocol" ,rust-nu-protocol-0.26)
1577 ("rust-nu-source" ,rust-nu-source-0.26)
1578 ("rust-ptree" ,rust-ptree-0.3))))
1579 (home-page "https://www.nushell.sh")
1580 (synopsis "Tree viewer plugin for Nushell")
1581 (description "This package provides a tree viewer plugin for
1585 (define-public rust-nu-plugin-xpath-0.26
1587 (name "rust-nu-plugin-xpath")
1592 (uri (crate-uri "nu_plugin_xpath" version))
1593 (file-name (string-append name "-" version ".tar.gz"))
1595 (base32 "0sp3q5wlmwpzsx9751wqis2xxshck0fl6gpl1jckwivg8s9glbbg"))))
1596 (build-system cargo-build-system)
1600 (("rust-bigdecimal" ,rust-bigdecimal-0.2)
1601 ("rust-indexmap" ,rust-indexmap-1)
1602 ("rust-nu-errors" ,rust-nu-errors-0.26)
1603 ("rust-nu-plugin" ,rust-nu-plugin-0.26)
1604 ("rust-nu-protocol" ,rust-nu-protocol-0.26)
1605 ("rust-nu-source" ,rust-nu-source-0.26)
1606 ("rust-sxd-document" ,rust-sxd-document-0.3)
1607 ("rust-sxd-xpath" ,rust-sxd-xpath-0.4))))
1608 (home-page "https://www.nushell.sh")
1609 (synopsis "Traverses XML")
1610 (description "Traverses XML")
1613 (define-public rust-nu-protocol-0.26
1615 (name "rust-nu-protocol")
1620 (uri (crate-uri "nu-protocol" version))
1621 (file-name (string-append name "-" version ".tar.gz"))
1623 (base32 "1s2lm9aydgcwi0h9jhpi9ba5i55k7iv70fpgl85cm7dlw4kyzjv0"))))
1624 (build-system cargo-build-system)
1628 (("rust-bigdecimal" ,rust-bigdecimal-0.2)
1629 ("rust-byte-unit" ,rust-byte-unit-4)
1630 ("rust-chrono" ,rust-chrono-0.4)
1631 ("rust-derive-new" ,rust-derive-new-0.5)
1632 ("rust-getset" ,rust-getset-0.1)
1633 ("rust-indexmap" ,rust-indexmap-1)
1634 ("rust-log" ,rust-log-0.4)
1635 ("rust-nu-errors" ,rust-nu-errors-0.26)
1636 ("rust-nu-source" ,rust-nu-source-0.26)
1637 ("rust-num-bigint" ,rust-num-bigint-0.3)
1638 ("rust-num-integer" ,rust-num-integer-0.1)
1639 ("rust-num-traits" ,rust-num-traits-0.2)
1640 ("rust-serde" ,rust-serde-1)
1641 ("rust-serde-bytes" ,rust-serde-bytes-0.11)
1642 ("rust-serde-json" ,rust-serde-json-1)
1643 ("rust-serde-yaml" ,rust-serde-yaml-0.8)
1644 ("rust-toml" ,rust-toml-0.5))))
1645 (home-page "https://www.nushell.sh")
1646 (synopsis "Core values and protocols for Nushell")
1647 (description "Core values and protocols for Nushell")
1650 (define-public rust-nu-source-0.26
1652 (name "rust-nu-source")
1657 (uri (crate-uri "nu-source" version))
1658 (file-name (string-append name "-" version ".tar.gz"))
1660 (base32 "1sdmasal3qqcp8fjpqncppc81m0984bp528lb9zggipbxzjpvb3i"))))
1661 (build-system cargo-build-system)
1665 (("rust-derive-new" ,rust-derive-new-0.5)
1666 ("rust-getset" ,rust-getset-0.1)
1667 ("rust-pretty" ,rust-pretty-0.5)
1668 ("rust-serde" ,rust-serde-1)
1669 ("rust-termcolor" ,rust-termcolor-1))))
1670 (home-page "https://www.nushell.sh")
1671 (synopsis "Source string characterizer for Nushell")
1673 "This package provides a source string characterizer for
1677 (define-public rust-nu-stream-0.26
1679 (name "rust-nu-stream")
1684 (uri (crate-uri "nu-stream" version))
1685 (file-name (string-append name "-" version ".tar.gz"))
1687 (base32 "1y7f28zxfrlhi9qrpbk6dpzb3wr6f59yhx3yim001796c1x6xlcs"))))
1688 (build-system cargo-build-system)
1692 (("rust-futures" ,rust-futures-0.3)
1693 ("rust-nu-errors" ,rust-nu-errors-0.26)
1694 ("rust-nu-protocol" ,rust-nu-protocol-0.26)
1695 ("rust-nu-source" ,rust-nu-source-0.26))))
1696 (home-page "https://www.nushell.sh")
1697 (synopsis "Nushell stream")
1698 (description "This package provides Nushell stream.")
1701 (define-public rust-nu-table-0.26
1703 (name "rust-nu-table")
1708 (uri (crate-uri "nu-table" version))
1709 (file-name (string-append name "-" version ".tar.gz"))
1711 (base32 "1kxgmngfzi13xr2r65f5mxy24a8d1d0xrhi9bfjp5955r8r09km4"))))
1712 (build-system cargo-build-system)
1716 (("rust-ansi-term" ,rust-ansi-term-0.12)
1717 ("rust-regex" ,rust-regex-1)
1718 ("rust-unicode-width" ,rust-unicode-width-0.1))))
1719 (home-page "https://www.nushell.sh")
1720 (synopsis "Nushell table printing")
1721 (description "Nushell table printing")
1724 (define-public rust-nu-test-support-0.26
1726 (name "rust-nu-test-support")
1731 (uri (crate-uri "nu-test-support" version))
1732 (file-name (string-append name "-" version ".tar.gz"))
1734 (base32 "0nlr9sqjiwviw15x76cc87n6366fxkxz1lsfh6m2ncca1zwgpa69"))))
1735 (build-system cargo-build-system)
1739 (("rust-bigdecimal" ,rust-bigdecimal-0.2)
1740 ("rust-chrono" ,rust-chrono-0.4)
1741 ("rust-dunce" ,rust-dunce-1)
1742 ("rust-getset" ,rust-getset-0.1)
1743 ("rust-glob" ,rust-glob-0.3)
1744 ("rust-indexmap" ,rust-indexmap-1)
1745 ("rust-nu-errors" ,rust-nu-errors-0.26)
1746 ("rust-nu-protocol" ,rust-nu-protocol-0.26)
1747 ("rust-nu-source" ,rust-nu-source-0.26)
1748 ("rust-nu-value-ext" ,rust-nu-value-ext-0.26)
1749 ("rust-num-bigint" ,rust-num-bigint-0.3)
1750 ("rust-tempfile" ,rust-tempfile-3))))
1751 (home-page "https://www.nushell.sh")
1752 (synopsis "Support for writing Nushell tests")
1753 (description "This package provides support for writing Nushell
1757 (define-public rust-nu-value-ext-0.26
1759 (name "rust-nu-value-ext")
1764 (uri (crate-uri "nu-value-ext" version))
1766 (string-append name "-" version ".tar.gz"))
1768 (base32 "12qwxhkxdxsg7q6kbsqg46127lsy150b53kpbly0s8cgwra3bhv5"))))
1769 (build-system cargo-build-system)
1773 (("rust-indexmap" ,rust-indexmap-1)
1774 ("rust-itertools" ,rust-itertools-0.10)
1775 ("rust-nu-errors" ,rust-nu-errors-0.26)
1776 ("rust-nu-protocol" ,rust-nu-protocol-0.26)
1777 ("rust-nu-source" ,rust-nu-source-0.26)
1778 ("rust-num-traits" ,rust-num-traits-0.2))))
1779 (home-page "https://www.nushell.sh")
1780 (synopsis "@code{Extension} traits for values in Nushell")
1782 "This package provides @code{Extension} traits for values in