aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorJoseph LaFreniere <joseph@lafreniere.xyz>2020-11-20 08:27:07 -0600
committerEfraim Flashner <efraim@flashner.co.il>2020-12-17 11:49:40 +0200
commit6e69201641dbdfb5a1b9a625de30c4bd354f7dda (patch)
treeedba8a2529ddf39c7d16806847b88ba9368773e0 /gnu/packages
parent4175e2cfff981c02ee558d8ad6638d65a3aa506a (diff)
downloadguix-6e69201641dbdfb5a1b9a625de30c4bd354f7dda.tar.gz
guix-6e69201641dbdfb5a1b9a625de30c4bd354f7dda.zip
gnu: Add rust-serde-stacker-0.1.
* gnu/packages/crates-io.scm (rust-serde-stacker-0.1): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/crates-io.scm27
1 files changed, 27 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 72d2b85f4e..ca2beee3a7 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -26611,6 +26611,33 @@ for the serde framework.")
"Macros to auto-generate implementations for the serde framework.")
(license (list license:expat license:asl2.0))))
+(define-public rust-serde-stacker-0.1
+ (package
+ (name "rust-serde-stacker")
+ (version "0.1.4")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "serde-stacker" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1qlfpy0nmxrvahz4hs9p1y84rb0vy6mbxn1lfgvq6fryls8j7jgl"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-serde" ,rust-serde-1)
+ ("rust-stacker" ,rust-stacker-0.1))
+ #:cargo-development-inputs
+ (("rust-serde-json" ,rust-serde-json-1))))
+ (home-page "https://github.com/dtolnay/serde-stacker")
+ (synopsis "@code{serde} adapter that avoids stack overflow")
+ (description
+ "This package provides a @code{serde} adapter that avoids stack overflow
+by dynamically growing the stack.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-serde-test-1
(package
(name "rust-serde-test")