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