guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

13/272: gnu: Add rust-take-0.1.


From: guix-commits
Subject: 13/272: gnu: Add rust-take-0.1.
Date: Sat, 13 Feb 2021 05:53:46 -0500 (EST)

ngz pushed a commit to branch master
in repository guix.

commit 553d735e2f7cacff77e034117fd70dfb3011aa0b
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Tue Feb 9 11:41:32 2021 +0100

    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 c6aece6..541e7b4 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")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]