From 1a988ef6f1fb8a8c7bd608f8e634bf316ebbc24f Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Thu, 11 Feb 2021 00:22:52 +0100 Subject: [PATCH] gnu: Add rust-nu-json-0.26. * gnu/packages/shells.scm (rust-nu-json-0.26): New variable. --- gnu/packages/shells.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) 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")