From 553d735e2f7cacff77e034117fd70dfb3011aa0b Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Tue, 9 Feb 2021 11:41:32 +0100 Subject: [PATCH] gnu: Add rust-take-0.1. * gnu/packages/crates-io.scm (rust-take-0.1): New variable. --- gnu/packages/crates-io.scm | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) 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")