summary refs log tree commit diff
path: root/gnu/packages/shells.scm
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2021-02-11 00:16:57 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2021-02-13 11:50:58 +0100
commitaccedcb3ef97fb0161451f1f5a91ee48b2bbed30 (patch)
treea69a3172e2d34b05ea1642b9882e0238bfd7d369 /gnu/packages/shells.scm
parentbe46f51e3c48661e792e2908314be67fdce66cd0 (diff)
downloadguix-accedcb3ef97fb0161451f1f5a91ee48b2bbed30.tar.gz
gnu: Add rust-nu-protocol-0.26.
* gnu/packages/shells.scm (rust-nu-protocol-0.26): New variable.
Diffstat (limited to 'gnu/packages/shells.scm')
-rw-r--r--gnu/packages/shells.scm37
1 files changed, 37 insertions, 0 deletions
diff --git a/gnu/packages/shells.scm b/gnu/packages/shells.scm
index 0232ac7f17..e35b928139 100644
--- a/gnu/packages/shells.scm
+++ b/gnu/packages/shells.scm
@@ -963,6 +963,43 @@ files and text.")
     (description "Core error subsystem for Nushell")
     (license expat)))
 
+(define-public rust-nu-protocol-0.26
+  (package
+    (name "rust-nu-protocol")
+    (version "0.26.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "nu-protocol" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1s2lm9aydgcwi0h9jhpi9ba5i55k7iv70fpgl85cm7dlw4kyzjv0"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs
+       (("rust-bigdecimal" ,rust-bigdecimal-0.2)
+        ("rust-byte-unit" ,rust-byte-unit-4)
+        ("rust-chrono" ,rust-chrono-0.4)
+        ("rust-derive-new" ,rust-derive-new-0.5)
+        ("rust-getset" ,rust-getset-0.1)
+        ("rust-indexmap" ,rust-indexmap-1)
+        ("rust-log" ,rust-log-0.4)
+        ("rust-nu-errors" ,rust-nu-errors-0.26)
+        ("rust-nu-source" ,rust-nu-source-0.26)
+        ("rust-num-bigint" ,rust-num-bigint-0.3)
+        ("rust-num-integer" ,rust-num-integer-0.1)
+        ("rust-num-traits" ,rust-num-traits-0.2)
+        ("rust-serde" ,rust-serde-1)
+        ("rust-serde-bytes" ,rust-serde-bytes-0.11)
+        ("rust-serde-json" ,rust-serde-json-1)
+        ("rust-serde-yaml" ,rust-serde-yaml-0.8)
+        ("rust-toml" ,rust-toml-0.5))))
+    (home-page "https://www.nushell.sh")
+    (synopsis "Core values and protocols for Nushell")
+    (description "Core values and protocols for Nushell")
+    (license expat)))
+
 (define-public rust-nu-source-0.26
   (package
     (name "rust-nu-source")