summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2021-02-11 00:22:52 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2021-02-13 11:51:00 +0100
commit1a988ef6f1fb8a8c7bd608f8e634bf316ebbc24f (patch)
tree81b33d22c099ac468a85fd2833b794980fdebd2c /gnu
parent4ca98a6f7cbf9175a7d8a8eb376aae8adcbfe07c (diff)
downloadguix-1a988ef6f1fb8a8c7bd608f8e634bf316ebbc24f.tar.gz
gnu: Add rust-nu-json-0.26.
* gnu/packages/shells.scm (rust-nu-json-0.26): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/shells.scm24
1 files changed, 24 insertions, 0 deletions
diff --git a/gnu/packages/shells.scm b/gnu/packages/shells.scm
index 7eb5df1833..5ff116fbdf 100644
--- a/gnu/packages/shells.scm
+++ b/gnu/packages/shells.scm
@@ -963,6 +963,30 @@ files and text.")
     (description "Core error subsystem for Nushell")
     (license expat)))
 
+(define-public rust-nu-json-0.26
+  (package
+    (name "rust-nu-json")
+    (version "0.26.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "nu-json" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "085k9p41pqzivw6z6rxxzr8haagwqi795a2dh084qs99cyi5hj2n"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs
+       (("rust-lazy-static" ,rust-lazy-static-1)
+        ("rust-num-traits" ,rust-num-traits-0.2)
+        ("rust-regex" ,rust-regex-1)
+        ("rust-serde" ,rust-serde-0.8))))
+    (home-page "https://www.nushell.sh")
+    (synopsis "Fork of @code{serde-hjson}")
+    (description "This package is a fork of @code{serde-hjson}.")
+    (license expat)))
+
 (define-public rust-nu-parser-0.26
   (package
     (name "rust-nu-parser")