aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2021-02-09 11:41:32 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2021-02-13 11:49:40 +0100
commit553d735e2f7cacff77e034117fd70dfb3011aa0b (patch)
treeaca8ff41b0885c03bed6a02d075c5a6e6ddb53ad
parenta280d812269e04ab814c32a2aa1fac99f6eeb400 (diff)
downloadguix-553d735e2f7cacff77e034117fd70dfb3011aa0b.tar.gz
guix-553d735e2f7cacff77e034117fd70dfb3011aa0b.zip
gnu: Add rust-take-0.1.
* gnu/packages/crates-io.scm (rust-take-0.1): New variable.
-rw-r--r--gnu/packages/crates-io.scm20
1 files changed, 20 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index c6aece60c8..541e7b4740 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -36023,6 +36023,26 @@ provides both a library for wrapping Rust @code{Writer}s and a small program
that exposes the same functionality at the command line.")
(license (list license:unlicense license:expat))))
+(define-public rust-take-0.1
+ (package
+ (name "rust-take")
+ (version "0.1.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "take" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1i8p579k9kq21k7pcm4yzbc12xpshl39jfa5c1j6pxf1ia6qcmxi"))))
+ (build-system cargo-build-system)
+ (arguments `(#:skip-build? #t))
+ (home-page "https://github.com/carllerche/take")
+ (synopsis "Simple container utility for Rust")
+ (description
+ "This package provides a cell allowing the inner value to be consumed
+without a mutable reference.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-take-mut-0.2
(package
(name "rust-take-mut")