gnu: Add rust-nu-plugin-selector-0.26.
[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 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))
69
70 (define-public dash
71 (package
72 (name "dash")
73 (version "0.5.11.3")
74 (source
75 (origin
76 (method url-fetch)
77 (uri (string-append "http://gondor.apana.org.au/~herbert/dash/files/"
78 "dash-" version ".tar.gz"))
79 (sha256
80 (base32 "0amwphfal2rnfa63f7qd4i9m4ckv0gm3j6jlxkmfi9x6ddkz3fb2"))
81 (modules '((guix build utils)))
82 (snippet
83 '(begin
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"))
89 #t))))
90 (build-system gnu-build-system)
91 (inputs
92 `(("libedit" ,libedit)))
93 (arguments
94 '(#:configure-flags '("--with-libedit")))
95 (home-page "http://gondor.apana.org.au/~herbert/dash")
96 (synopsis "POSIX-compliant shell optimised for size")
97 (description
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}).")
102 (license (list bsd-3
103 gpl2+)))) ; mksignames.c
104
105 (define-public fish
106 (package
107 (name "fish")
108 (version "3.1.2")
109 (source
110 (origin
111 (method url-fetch)
112 (uri (string-append "https://github.com/fish-shell/fish-shell/"
113 "releases/download/" version "/"
114 "fish-" version ".tar.gz"))
115 (sha256
116 (base32 "1vblmb3x2k2cb0db5jdyflppnlqsm7i6jjaidyhmvaaw7ch2gffm"))
117 (modules '((guix build utils)))
118 (snippet
119 '(begin
120 (delete-file-recursively "pcre2-10.32") #t))))
121 (build-system cmake-build-system)
122 (inputs
123 `(("fish-foreign-env" ,fish-foreign-env)
124 ("ncurses" ,ncurses)
125 ("pcre2" ,pcre2) ; don't use the bundled PCRE2
126 ("python" ,python))) ; for fish_config and manpage completions
127 (native-inputs
128 `(("doxygen" ,doxygen)
129 ; for 'fish --help'
130 ("groff" ,groff)))
131 (arguments
132 '(#:phases
133 (modify-phases %standard-phases
134 (add-after 'unpack 'set-env
135 (lambda _
136 ;; some tests write to $HOME
137 (setenv "HOME" (getcwd))
138 #t))
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")))
143 ;; This test fails
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))
158 (((string-append
159 "do_test\\(is_potential_path\\("
160 "L\"/usr\", wds, vars, PATH_REQUIRE_DIR\\)\\);"))
161 ""))
162 (substitute*
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")))
171 #t)))
172 ;; Source /etc/fish/config.fish from $__fish_sysconf_dir/config.fish.
173 (add-after 'patch-tests 'patch-fish-config
174 (lambda _
175 (let ((port (open-file "etc/config.fish" "a")))
176 (display (string-append
177 "\n\n"
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"
182 "end\n")
183 port)
184 (close-port port))
185 #t))
186 ;; Embed absolute paths.
187 (add-before 'install 'embed-absolute-paths
188 (lambda _
189 (substitute* "share/functions/__fish_print_help.fish"
190 (("nroff") (which "nroff")))
191 #t))
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
195 (lambda _
196 (let ((port (open-file "share/__fish_build_paths.fish" "a")))
197 (display
198 (string-append
199 "\n\n"
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_*"
203 " variables.\n"
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")
218 port)
219 (close-port port))
220 #t))
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")))
225 (display
226 (string-append
227 "\n\n"
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"
236 "end\n")
237 port)
238 (close-port port))
239 #t)))))
240 (synopsis "The friendly interactive shell")
241 (description
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/")
251 (license gpl2)))
252
253 (define-public fish-foreign-env
254 (package
255 (name "fish-foreign-env")
256 (version "0.20190116")
257 (source
258 (origin
259 (method git-fetch)
260 (uri (git-reference
261 (url "https://github.com/oh-my-fish/plugin-foreign-env")
262 (commit "dddd9213272a0ab848d474d0cbde12ad034e65bc")))
263 (file-name (git-file-name name version))
264 (sha256
265 (base32 "00xqlyl3lffc5l0viin1nyp819wf81fncqyz87jx8ljjdhilmgbs"))))
266 (build-system trivial-build-system)
267 (arguments
268 '(#:modules ((guix build utils))
269 #:builder
270 (begin
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")))
275 (mkdir-p func-path)
276 (copy-recursively (string-append source "/functions")
277 func-path)
278
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"))
283 (("bash")
284 (string-append (assoc-ref %build-inputs "bash") "/bin/bash"))
285 (("sed")
286 (string-append (assoc-ref %build-inputs "sed") "/bin/sed"))
287 ((" tr ")
288 (string-append " " (assoc-ref %build-inputs "coreutils")
289 "/bin/tr ")))))))
290 (inputs
291 `(("bash" ,bash)
292 ("coreutils" ,coreutils)
293 ("sed" ,sed)))
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
298 into fish.")
299 (license expat)))
300
301 (define-public rc
302 (package
303 (name "rc")
304 (version "1.7.4")
305 (source (origin
306 (method git-fetch)
307 (uri (git-reference
308 (url "https://github.com/rakitzis/rc")
309 (commit (string-append "v" version))))
310 (sha256
311 (base32
312 "0vj1h4pcg13vxsiydmmk87dr2sra9h4gwx0c4q6fjsiw4in78rrd"))
313 (file-name (git-file-name name version))))
314 (build-system gnu-build-system)
315 (arguments
316 `(#:configure-flags
317 '("--with-edit=gnu")
318 #:phases
319 (modify-phases %standard-phases
320 (add-before 'bootstrap 'patch-trip.rc
321 (lambda _
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")) ")")))
327 #t)))))
328 (inputs `(("readline" ,readline)
329 ("perl" ,perl)))
330 (native-inputs `(("autoconf" ,autoconf)
331 ("automake" ,automake)
332 ("libtool" ,libtool)
333 ("pkg-config" ,pkg-config)))
334 (synopsis "Alternative implementation of the rc shell by Byron Rakitzis")
335 (description
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")
339 (license zlib)))
340
341 (define-public es
342 (package
343 (name "es")
344 (version "0.9.1")
345 (source
346 (origin
347 (method url-fetch)
348 (uri (string-append "https://github.com/wryun/es-shell/releases/"
349 "download/v" version "/es-" version ".tar.gz"))
350 (sha256
351 (base32
352 "1fplzxc6lncz2lv2fyr2ig23rgg5j96rm2bbl1rs28mik771zd5h"))
353 (file-name (string-append name "-" version ".tar.gz"))))
354 (build-system gnu-build-system)
355 (arguments
356 `(#:test-target "test"
357 #:phases
358 (modify-phases %standard-phases
359 (add-before 'configure 're-enter-rootdir
360 ;; The tarball has no folder.
361 (lambda _
362 (chdir ".."))))))
363 (inputs
364 `(("readline" ,readline)))
365 (native-inputs
366 `(("bison" ,bison)))
367 (synopsis "Extensible shell with higher-order functions")
368 (description
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)))
376
377 (define-public tcsh
378 (package
379 (name "tcsh")
380 (version "6.22.02")
381 (source (origin
382 (method url-fetch)
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")))
388 (sha256
389 (base32
390 "0nw8prz1n0lmr82wnpyhrzmki630afn7p9cfgr3vl00vr9c72a7d"))
391 (patches (search-patches "tcsh-fix-autotest.patch"))
392 (patch-flags '("-p0"))))
393 (build-system gnu-build-system)
394 (native-inputs
395 `(("autoconf" ,autoconf)
396 ("perl" ,perl)))
397 (inputs
398 `(("ncurses" ,ncurses)))
399 (arguments
400 `(#:phases
401 (modify-phases %standard-phases
402 ,@(if (%current-target-system)
403 '((add-before 'configure 'set-cross-cc
404 (lambda _
405 (substitute* "configure"
406 (("CC_FOR_GETHOST=\"cc\"")
407 "CC_FOR_GETHOST=\"gcc\""))
408 #t)))
409 '())
410 (add-before 'check 'patch-test-scripts
411 (lambda _
412 ;; Take care of pwd
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")
422
423 ;; This file is ISO-8859-1 encoded.
424 (with-fluids ((%default-port-encoding #f))
425 (substitute* "tests/testsuite"
426 (("/bin/sh") (which "sh"))))
427 #t))
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"))
434 #t))))))
435 (home-page "https://www.tcsh.org/")
436 (synopsis "Unix shell based on csh")
437 (description
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.")
443 (license bsd-4)))
444
445 (define-public zsh
446 (package
447 (name "zsh")
448 (version "5.8")
449 (source (origin
450 (method url-fetch)
451 (uri (list (string-append
452 "https://www.zsh.org/pub/zsh-" version
453 ".tar.xz")
454 (string-append
455 "https://www.zsh.org/pub/old/zsh-" version
456 ".tar.xz")))
457 (sha256
458 (base32
459 "09yyaadq738zlrnlh1hd3ycj1mv3q5hh4xl1ank70mjnqm6bbi6w"))))
460 (build-system gnu-build-system)
461 (arguments `(#:configure-flags
462 `("--with-tcsetpgrp"
463 "--enable-pcre"
464 "--enable-maildir-support"
465 ;; share/zsh/site-functions isn't populated
466 "--disable-site-fndir"
467 ,(string-append
468 "--enable-additional-fpath="
469 "/usr/local/share/zsh/site-functions," ; for foreign OS
470 "/run/current-system/profile/share/zsh/site-functions"))
471 #:phases
472 (modify-phases %standard-phases
473 (add-before 'configure 'fix-sh
474 (lambda _
475 ;; Some of the files are ISO-8859-1 encoded.
476 (with-fluids ((%default-port-encoding #f))
477 (substitute*
478 '("configure"
479 "configure.ac"
480 "Src/exec.c"
481 "Src/mkmakemod.sh"
482 "Config/installfns.sh"
483 "Config/defs.mk.in"
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"
490 "Util/preconfig")
491 (("/bin/sh") (which "sh"))))))
492 (add-before 'check 'patch-test
493 (lambda _
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' "))
501 #t)))))
502 (native-inputs `(("autoconf" ,autoconf)))
503 (inputs `(("ncurses" ,ncurses)
504 ("pcre" ,pcre)
505 ("perl" ,perl)))
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,
511 ksh, and tcsh.")
512 (home-page "https://www.zsh.org/")
513
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+.
516 (license gpl2+)))
517
518 (define-public xonsh
519 (package
520 (name "xonsh")
521 (version "0.9.25")
522 (source
523 (origin
524 (method url-fetch)
525 (uri (pypi-uri "xonsh" version))
526 (sha256
527 (base32 "0q1xy0k5mvz4031p4d3y0j7ljpx32rmpk21jy148l6xcss039br0"))
528 (modules '((guix build utils)))
529 (snippet
530 `(begin
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"
539 "xonsh/lexer.py"
540 "xonsh/parsers/base.py"
541 "xonsh/xonfig.py")
542 (("from xonsh\\.ply\\.(.*) import" _ module)
543 (format #f "from ~a import" module))
544 (("from xonsh\\.ply import") "import"))
545 #t))))
546 (build-system python-build-system)
547 (arguments
548 '(;; TODO Try running run the test suite.
549 ;; See 'requirements-tests.txt' in the source distribution for more
550 ;; information.
551 #:tests? #f))
552 (inputs
553 `(("python-ply" ,python-ply)))
554 (home-page "https://xon.sh/")
555 (synopsis "Python-ish shell")
556 (description
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.")
562 (license bsd-2)))
563
564 (define-public scsh
565 (let ((commit "114432435e4eadd54334df6b37fcae505079b49f")
566 (revision "1"))
567 (package
568 (name "scsh")
569 (version (string-append "0.0.0-" revision "." (string-take commit 7)))
570 (source
571 (origin
572 (method git-fetch)
573 (uri (git-reference
574 (url "https://github.com/scheme/scsh")
575 (commit commit)))
576 (file-name (string-append name "-" version "-checkout"))
577 (sha256
578 (base32
579 "1ghk08akiz7hff1pndi8rmgamgcrn2mv9asbss9l79d3c2iaav3q"))))
580 (build-system gnu-build-system)
581 (arguments
582 `(#:test-target "test"
583 #:phases
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)
590 "/rx")))
591 (delete-file-recursively "rx")
592 (symlink rxpath "rx"))
593 #t)))))
594 (inputs
595 `(("scheme48" ,scheme48)
596 ("scheme48-rx" ,scheme48-rx)))
597 (native-inputs
598 `(("autoconf" ,autoconf)
599 ("automake" ,automake)))
600 (home-page "https://github.com/scheme/scsh")
601 (synopsis "Unix shell embedded in Scheme")
602 (description
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
606 operating system.")
607 (license bsd-3))))
608
609 (define-public linenoise
610 (let ((commit "2105ce445821381cf1bca87b6d386d4ea88ee20d")
611 (revision "1"))
612 (package
613 (name "linenoise")
614 (version (string-append "1.0-" revision "." (string-take commit 7)))
615 (source
616 (origin
617 (method git-fetch)
618 (uri (git-reference
619 (url "https://github.com/antirez/linenoise")
620 (commit commit)))
621 (file-name (string-append name "-" version "-checkout"))
622 (sha256
623 (base32
624 "1z16qwix8z6a40fskdgxsibkqgdrp4q6ncp4n6hnv4r9iihy2d8r"))))
625 (build-system gnu-build-system)
626 (arguments
627 `(#:tests? #f ; no tests are included
628 #:make-flags
629 (list ,(string-append "CC=" (cc-for-target)))
630 #:phases
631 (modify-phases %standard-phases
632 (delete 'configure)
633 (replace 'install
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"))
641 #t))))))
642 (home-page "https://github.com/antirez/linenoise")
643 (synopsis "Minimal zero-config readline replacement")
644 (description
645 "Linenoise is a minimal, zero-config, readline replacement.
646 Its features include:
647
648 @enumerate
649 @item Single and multi line editing mode with the usual key bindings
650 @item History handling
651 @item Completion
652 @item Hints (suggestions at the right of the prompt as you type)
653 @item A subset of VT100 escapes, ANSI.SYS compatible
654 @end enumerate\n")
655 (license bsd-2))))
656
657 (define-public s-shell
658 (let ((commit "da2e5c20c0c5f477ec3426dc2584889a789b1659")
659 (revision "2"))
660 (package
661 (name "s-shell")
662 (version (git-version "0.0.0" revision commit))
663 (source
664 (origin
665 (method git-fetch)
666 (uri (git-reference
667 (url "https://github.com/rain-1/s")
668 (commit commit)))
669 (file-name (string-append name "-" version "-checkout"))
670 (sha256
671 (base32
672 "0qiny71ww5nhzy4mnc8652hn0mlxyb67h333gbdxp4j4qxsi13q4"))))
673 (build-system gnu-build-system)
674 (inputs
675 `(("linenoise" ,linenoise)))
676 (arguments
677 `(#:tests? #f
678 #:make-flags (list "CC=gcc"
679 (string-append "PREFIX="
680 (assoc-ref %outputs "out")))
681 #:phases
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"
688 (("out") bin))
689 #t)))
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"))))
694 (replace 'configure
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
698 ;; of s.
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")
703 (substitute* "s.c"
704 (("/bin/s") (string-append out "/bin/s")))
705 #t))))))
706 (home-page "https://github.com/rain-1/s")
707 (synopsis "Extremely minimal shell with the simplest syntax possible")
708 (description
709 "S is a new shell that aims to be extremely simple. It does not
710 implement the POSIX shell standard.
711
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.
715
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.")
719 (license bsd-3))))
720
721 (define-public oksh
722 (package
723 (name "oksh")
724 (version "0.5.9")
725 (source
726 (origin
727 (method url-fetch)
728 (uri (string-append "https://connochaetos.org/oksh/oksh-"
729 version ".tar.gz"))
730 (sha256
731 (base32
732 "0ln9yf6pxngsviqszv8klnnvn8vcpplvj1njdn8xr2y8frkbw8r3"))))
733 (build-system gnu-build-system)
734 (arguments
735 `(; The test files are not part of the distributed tarball.
736 #:tests? #f))
737 (home-page "https://connochaetos.org/oksh")
738 (synopsis "Port of OpenBSD Korn Shell")
739 (description
740 "Oksh is a port of the OpenBSD Korn Shell.
741 The OpenBSD Korn Shell is a cleaned up and enhanced ksh.")
742 (license gpl3+)))
743
744 (define-public loksh
745 (package
746 (name "loksh")
747 (version "6.6")
748 (source
749 (origin
750 (method git-fetch)
751 (uri (git-reference
752 (url "https://github.com/dimkr/loksh")
753 (commit version)))
754 (file-name (git-file-name name version))
755 (sha256
756 (base32 "1a8s64n97ikvvi7ckirxnnjvcmhr3dd4rnqm2ivapyzb0wp42jk7"))))
757 (build-system gnu-build-system)
758 (inputs
759 `(("libbsd" ,libbsd)
760 ("ncurses" ,ncurses)))
761 (native-inputs
762 `(("pkg-config" ,pkg-config)))
763 (arguments
764 `(#:tests? #f ; no tests included
765 #:make-flags (list "CC=gcc" "HAVE_LIBBSD=1"
766 (string-append "PREFIX="
767 (assoc-ref %outputs "out")))
768 #:phases
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")
773 (description
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)))
779
780 (define-public mksh
781 (package
782 (name "mksh")
783 (version "58")
784 (source
785 (origin
786 (method url-fetch)
787 (uri (string-append "https://www.mirbsd.org/MirOS/dist/mir/mksh/mksh-R"
788 version ".tgz"))
789 (sha256
790 (base32 "1337zjvzh14yncg9igdry904a3ns52l8rnm1kcq262w7f5xyp2v0"))))
791 (build-system gnu-build-system)
792 (arguments
793 `(#:tests? #f ; tests require access to /dev/tty
794 #:phases
795 (modify-phases %standard-phases
796 (delete 'configure)
797 (replace 'build
798 (lambda _
799 (setenv "CC" "gcc")
800 (invoke (which "sh") "Build.sh")))
801 (replace 'install
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)
810 #t))))))
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
815 Shell (pdksh).")
816 (license (list miros
817 isc)))) ; strlcpy.c
818
819 (define-public oil
820 (package
821 (name "oil")
822 (version "0.8.7")
823 (source
824 (origin
825 (method url-fetch)
826 (uri (string-append "https://www.oilshell.org/download/oil-"
827 version ".tar.gz"))
828 (sha256
829 (base32 "0yxd020jkwhhvq2l8hd9npp2vn6fvm11f0izfzwdl2npbnc976jr"))))
830 (build-system gnu-build-system)
831 (arguments
832 `(#:strip-binaries? #f ; strip breaks the binary
833 #:phases
834 (modify-phases %standard-phases
835 (replace 'configure
836 (lambda* (#:key outputs #:allow-other-keys)
837 (let ((out (assoc-ref outputs "out")))
838 (setenv "CC" ,(cc-for-target))
839 (substitute* "configure"
840 ((" cc ") " $CC "))
841 (invoke "./configure" (string-append "--prefix=" out)
842 "--with-readline"))))
843 (replace 'check
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
847 (lambda _
848 (let* ((oil "_bin/oil.ovm"))
849 (invoke/quiet oil "osh" "-c" "echo hi")
850 (invoke/quiet oil "osh" "-n" "configure")))))))
851 (inputs
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
857 scripts.")
858 (license (list psfl ; tarball includes python2.7
859 asl2.0))))
860
861 (define-public oil-shell
862 (deprecated-package "oil-shell" oil))
863
864 (define-public gash
865 (package
866 (name "gash")
867 (version "0.2.0")
868 (source
869 (origin (method url-fetch)
870 (uri (string-append "mirror://savannah/gash/gash-"
871 version ".tar.gz"))
872 (sha256
873 (base32
874 "13m0yz5h9nj3x40mr6wr5xcpq1lscndfwcicw3skrz801025hhgf"))
875 (modules '((guix build utils)))
876 (snippet
877 '(begin
878 ;; Allow builds with Guile 3.0.
879 (substitute* "configure"
880 (("search=\"2\\.2 2\\.0\"")
881 "search=\"3.0 2.2 2.0\""))
882 #t))))
883 (build-system gnu-build-system)
884 (native-inputs
885 `(("pkg-config" ,pkg-config)))
886 (inputs
887 `(("guile" ,guile-3.0)))
888 (arguments
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.")
896 (license gpl3+)))
897
898 (define-public gash-utils
899 (package
900 (name "gash-utils")
901 (version "0.1.0")
902 (source (origin
903 (method url-fetch)
904 (uri (string-append "mirror://savannah/gash/gash-utils-"
905 version ".tar.gz"))
906 (sha256
907 (base32
908 "0ib2p52qmbac5n0s5bys4fiwim461ps546976l1n7pwbs0avh7fk"))
909 (patches (search-patches "gash-utils-ls-test.patch"))
910 (modules '((guix build utils)))
911 (snippet
912 '(begin
913 ;; Allow builds with Guile 3.0.
914 (substitute* "configure"
915 (("search=\"2\\.2 2\\.0\"")
916 "search=\"3.0 2.2 2.0\""))
917 #t))))
918 (build-system gnu-build-system)
919 (native-inputs
920 `(("pkg-config" ,pkg-config)))
921 (inputs
922 `(("guile" ,guile-3.0)
923 ("gash" ,gash)))
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
931 files and text.")
932 (license gpl3+)))
933
934 (define-public rust-nu-cli-0.26
935 (package
936 (name "rust-nu-cli")
937 (version "0.26.0")
938 (source
939 (origin
940 (method url-fetch)
941 (uri (crate-uri "nu-cli" version))
942 (file-name (string-append name "-" version ".tar.gz"))
943 (sha256
944 (base32 "1cm560qksr7j55kwfxldfp9ry25dbwnw6l3lmm3pbc0hfwdp1w0r"))))
945 (build-system cargo-build-system)
946 (arguments
947 `(#:skip-build? #t
948 #:cargo-inputs
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")
1047 (license expat)))
1048
1049 (define-public rust-nu-command-0.26
1050 (package
1051 (name "rust-nu-command")
1052 (version "0.26.0")
1053 (source
1054 (origin
1055 (method url-fetch)
1056 (uri (crate-uri "nu-command" version))
1057 (file-name (string-append name "-" version ".tar.gz"))
1058 (sha256
1059 (base32 "0kqip12aw38c6wa9blzmk4xyndjgm4k23iiaw2187vsanh0h53q7"))))
1060 (build-system cargo-build-system)
1061 (arguments
1062 `(#:skip-build? #t
1063 #:cargo-inputs
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")
1159 (license expat)))
1160
1161 (define-public rust-nu-data-0.26
1162 (package
1163 (name "rust-nu-data")
1164 (version "0.26.0")
1165 (source
1166 (origin
1167 (method url-fetch)
1168 (uri (crate-uri "nu-data" version))
1169 (file-name (string-append name "-" version ".tar.gz"))
1170 (sha256
1171 (base32 "1jmicfs49laczgvif5axv2gb0c52hrfxvf3ywi7iinr7n8h1sfpx"))))
1172 (build-system cargo-build-system)
1173 (arguments
1174 `(#:skip-build? #t
1175 #:cargo-inputs
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")
1203 (license expat)))
1204
1205 (define-public rust-nu-engine-0.26
1206 (package
1207 (name "rust-nu-engine")
1208 (version "0.26.0")
1209 (source
1210 (origin
1211 (method url-fetch)
1212 (uri (crate-uri "nu-engine" version))
1213 (file-name (string-append name "-" version ".tar.gz"))
1214 (sha256
1215 (base32 "0fbvv8dvxzfbkyvy8iyis9xvijv794lpjfp0hrl25s0lrjykbji0"))))
1216 (build-system cargo-build-system)
1217 (arguments
1218 `(#:skip-build? #t
1219 #:cargo-inputs
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")
1258 (license expat)))
1259
1260 (define-public rust-nu-errors-0.26
1261 (package
1262 (name "rust-nu-errors")
1263 (version "0.26.0")
1264 (source
1265 (origin
1266 (method url-fetch)
1267 (uri (crate-uri "nu-errors" version))
1268 (file-name (string-append name "-" version ".tar.gz"))
1269 (sha256
1270 (base32 "0q6cbb02m9cfvjc7fcfzj814iz9ab2j2m3c3qwqskkrig4cwz3sl"))))
1271 (build-system cargo-build-system)
1272 (arguments
1273 `(#:skip-build? #t
1274 #:cargo-inputs
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")
1291 (license expat)))
1292
1293 (define-public rust-nu-json-0.26
1294 (package
1295 (name "rust-nu-json")
1296 (version "0.26.0")
1297 (source
1298 (origin
1299 (method url-fetch)
1300 (uri (crate-uri "nu-json" version))
1301 (file-name (string-append name "-" version ".tar.gz"))
1302 (sha256
1303 (base32 "085k9p41pqzivw6z6rxxzr8haagwqi795a2dh084qs99cyi5hj2n"))))
1304 (build-system cargo-build-system)
1305 (arguments
1306 `(#:skip-build? #t
1307 #:cargo-inputs
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}.")
1315 (license expat)))
1316
1317 (define-public rust-nu-parser-0.26
1318 (package
1319 (name "rust-nu-parser")
1320 (version "0.26.0")
1321 (source
1322 (origin
1323 (method url-fetch)
1324 (uri (crate-uri "nu-parser" version))
1325 (file-name (string-append name "-" version ".tar.gz"))
1326 (sha256
1327 (base32 "05wns7z1xifdlypklar2hb2q9515lrlwx5jl69aw3k877nmwg07p"))))
1328 (build-system cargo-build-system)
1329 (arguments
1330 `(#:skip-build? #t
1331 #:cargo-inputs
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")
1351 (license expat)))
1352
1353 (define-public rust-nu-plugin-0.26
1354 (package
1355 (name "rust-nu-plugin")
1356 (version "0.26.0")
1357 (source
1358 (origin
1359 (method url-fetch)
1360 (uri (crate-uri "nu-plugin" version))
1361 (file-name
1362 (string-append name "-" version ".tar.gz"))
1363 (sha256
1364 (base32 "1n7lf9d0dkjdnmwv60szrz22z47aq3yl946f9y20dnk7xy798bv6"))))
1365 (build-system cargo-build-system)
1366 (arguments
1367 `(#:skip-build? #t
1368 #:cargo-inputs
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")
1382 (license expat)))
1383
1384 (define-public rust-nu-plugin-selector-0.26
1385 (package
1386 (name "rust-nu-plugin-selector")
1387 (version "0.26.0")
1388 (source
1389 (origin
1390 (method url-fetch)
1391 (uri (crate-uri "nu_plugin_selector" version))
1392 (file-name (string-append name "-" version ".tar.gz"))
1393 (sha256
1394 (base32 "0vcwa4g6j8w27g2m4wkk04gja2bw8s9m72v7hbcdmfncgq4cnjrw"))))
1395 (build-system cargo-build-system)
1396 (arguments
1397 `(#:skip-build? #t
1398 #:cargo-inputs
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")
1406 (description
1407 "This package provides web scraping using CSS selector.")
1408 (license expat)))
1409
1410 (define-public rust-nu-plugin-start-0.26
1411 (package
1412 (name "rust-nu-plugin-start")
1413 (version "0.26.0")
1414 (source
1415 (origin
1416 (method url-fetch)
1417 (uri (crate-uri "nu_plugin_start" version))
1418 (file-name (string-append name "-" version ".tar.gz"))
1419 (sha256
1420 (base32 "0k7yqjrj7ydihcpjm8wgf3v4n8w16rawvxk9hdfysgmmvzw29kk8"))))
1421 (build-system cargo-build-system)
1422 (arguments
1423 `(#:skip-build? #t
1424 #:cargo-inputs
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")
1434 (description
1435 "This package provides a plugin to open files/URLs directly from
1436 Nushell.")
1437 (license expat)))
1438
1439 (define-public rust-nu-plugin-sys-0.26
1440 (package
1441 (name "rust-nu-plugin-sys")
1442 (version "0.26.0")
1443 (source
1444 (origin
1445 (method url-fetch)
1446 (uri (crate-uri "nu_plugin_sys" version))
1447 (file-name
1448 (string-append name "-" version ".tar.gz"))
1449 (sha256
1450 (base32 "02jddzflzb173g8s6026vi0vk887h4p1q1a2cmc5g31r20z6h61p"))))
1451 (build-system cargo-build-system)
1452 (arguments
1453 `(#:skip-build? #t
1454 #:cargo-inputs
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.")
1466 (license expat)))
1467
1468 (define-public rust-nu-plugin-textview-0.26
1469 (package
1470 (name "rust-nu-plugin-textview")
1471 (version "0.26.0")
1472 (source
1473 (origin
1474 (method url-fetch)
1475 (uri (crate-uri "nu_plugin_textview" version))
1476 (file-name (string-append name "-" version ".tar.gz"))
1477 (sha256
1478 (base32 "12zxphslc56n7s60i8603pq4g9iji58fg5zjvx2g6b06h83070qv"))))
1479 (build-system cargo-build-system)
1480 (arguments
1481 `(#:skip-build? #t
1482 #:cargo-inputs
1483 (("bat" ,bat)
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
1495 Nushell.")
1496 (license expat)))
1497
1498 (define-public rust-nu-plugin-to-bson-0.26
1499 (package
1500 (name "rust-nu-plugin-to-bson")
1501 (version "0.26.0")
1502 (source
1503 (origin
1504 (method url-fetch)
1505 (uri (crate-uri "nu_plugin_to_bson" version))
1506 (file-name (string-append name "-" version ".tar.gz"))
1507 (sha256
1508 (base32 "1vpd5j2z2jjqbf8ks6df76xr86rim1wr7x3y1m77c4v1icsnxgzs"))))
1509 (build-system cargo-build-system)
1510 (arguments
1511 `(#:skip-build? #t
1512 #:cargo-inputs
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")
1522 (description
1523 "This package provides a converter plugin to the bson format for
1524 Nushell.")
1525 (license expat)))
1526
1527 (define-public rust-nu-plugin-to-sqlite-0.26
1528 (package
1529 (name "rust-nu-plugin-to-sqlite")
1530 (version "0.26.0")
1531 (source
1532 (origin
1533 (method url-fetch)
1534 (uri (crate-uri "nu_plugin_to_sqlite" version))
1535 (file-name (string-append name "-" version ".tar.gz"))
1536 (sha256
1537 (base32 "05z4cwaq55rfwdvr3vr8kqdyqbzpkbrdpz1mp4d9fa9b273xs393"))))
1538 (build-system cargo-build-system)
1539 (arguments
1540 `(#:skip-build? #t
1541 #:cargo-inputs
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")
1553 (description
1554 "This package provides a converter plugin to the bson format for
1555 Nushell.")
1556 (license expat)))
1557
1558 (define-public rust-nu-plugin-tree-0.26
1559 (package
1560 (name "rust-nu-plugin-tree")
1561 (version "0.26.0")
1562 (source
1563 (origin
1564 (method url-fetch)
1565 (uri (crate-uri "nu_plugin_tree" version))
1566 (file-name (string-append name "-" version ".tar.gz"))
1567 (sha256
1568 (base32 "1q80fr430igfw9a4qa5l3ydw6xhppzhqf2i6pvfjmdgf2vhflpdr"))))
1569 (build-system cargo-build-system)
1570 (arguments
1571 `(#:skip-build? #t
1572 #:cargo-inputs
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
1582 Nushell.")
1583 (license expat)))
1584
1585 (define-public rust-nu-plugin-xpath-0.26
1586 (package
1587 (name "rust-nu-plugin-xpath")
1588 (version "0.26.0")
1589 (source
1590 (origin
1591 (method url-fetch)
1592 (uri (crate-uri "nu_plugin_xpath" version))
1593 (file-name (string-append name "-" version ".tar.gz"))
1594 (sha256
1595 (base32 "0sp3q5wlmwpzsx9751wqis2xxshck0fl6gpl1jckwivg8s9glbbg"))))
1596 (build-system cargo-build-system)
1597 (arguments
1598 `(#:skip-build? #t
1599 #:cargo-inputs
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")
1611 (license expat)))
1612
1613 (define-public rust-nu-protocol-0.26
1614 (package
1615 (name "rust-nu-protocol")
1616 (version "0.26.0")
1617 (source
1618 (origin
1619 (method url-fetch)
1620 (uri (crate-uri "nu-protocol" version))
1621 (file-name (string-append name "-" version ".tar.gz"))
1622 (sha256
1623 (base32 "1s2lm9aydgcwi0h9jhpi9ba5i55k7iv70fpgl85cm7dlw4kyzjv0"))))
1624 (build-system cargo-build-system)
1625 (arguments
1626 `(#:skip-build? #t
1627 #:cargo-inputs
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")
1648 (license expat)))
1649
1650 (define-public rust-nu-source-0.26
1651 (package
1652 (name "rust-nu-source")
1653 (version "0.26.0")
1654 (source
1655 (origin
1656 (method url-fetch)
1657 (uri (crate-uri "nu-source" version))
1658 (file-name (string-append name "-" version ".tar.gz"))
1659 (sha256
1660 (base32 "1sdmasal3qqcp8fjpqncppc81m0984bp528lb9zggipbxzjpvb3i"))))
1661 (build-system cargo-build-system)
1662 (arguments
1663 `(#:skip-build? #t
1664 #:cargo-inputs
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")
1672 (description
1673 "This package provides a source string characterizer for
1674 Nushell.")
1675 (license expat)))
1676
1677 (define-public rust-nu-stream-0.26
1678 (package
1679 (name "rust-nu-stream")
1680 (version "0.26.0")
1681 (source
1682 (origin
1683 (method url-fetch)
1684 (uri (crate-uri "nu-stream" version))
1685 (file-name (string-append name "-" version ".tar.gz"))
1686 (sha256
1687 (base32 "1y7f28zxfrlhi9qrpbk6dpzb3wr6f59yhx3yim001796c1x6xlcs"))))
1688 (build-system cargo-build-system)
1689 (arguments
1690 `(#:skip-build? #t
1691 #:cargo-inputs
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.")
1699 (license expat)))
1700
1701 (define-public rust-nu-table-0.26
1702 (package
1703 (name "rust-nu-table")
1704 (version "0.26.0")
1705 (source
1706 (origin
1707 (method url-fetch)
1708 (uri (crate-uri "nu-table" version))
1709 (file-name (string-append name "-" version ".tar.gz"))
1710 (sha256
1711 (base32 "1kxgmngfzi13xr2r65f5mxy24a8d1d0xrhi9bfjp5955r8r09km4"))))
1712 (build-system cargo-build-system)
1713 (arguments
1714 `(#:skip-build? #t
1715 #:cargo-inputs
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")
1722 (license expat)))
1723
1724 (define-public rust-nu-test-support-0.26
1725 (package
1726 (name "rust-nu-test-support")
1727 (version "0.26.0")
1728 (source
1729 (origin
1730 (method url-fetch)
1731 (uri (crate-uri "nu-test-support" version))
1732 (file-name (string-append name "-" version ".tar.gz"))
1733 (sha256
1734 (base32 "0nlr9sqjiwviw15x76cc87n6366fxkxz1lsfh6m2ncca1zwgpa69"))))
1735 (build-system cargo-build-system)
1736 (arguments
1737 `(#:skip-build? #t
1738 #:cargo-inputs
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
1754 tests.")
1755 (license expat)))
1756
1757 (define-public rust-nu-value-ext-0.26
1758 (package
1759 (name "rust-nu-value-ext")
1760 (version "0.26.0")
1761 (source
1762 (origin
1763 (method url-fetch)
1764 (uri (crate-uri "nu-value-ext" version))
1765 (file-name
1766 (string-append name "-" version ".tar.gz"))
1767 (sha256
1768 (base32 "12qwxhkxdxsg7q6kbsqg46127lsy150b53kpbly0s8cgwra3bhv5"))))
1769 (build-system cargo-build-system)
1770 (arguments
1771 `(#:skip-build? #t
1772 #:cargo-inputs
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")
1781 (description
1782 "This package provides @code{Extension} traits for values in
1783 Nushell.")
1784 (license expat)))