shells.scm 80 KB

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