guix-commits
[Top][All Lists]
Advanced

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

58/189: gnu: Add rust-retain-mut-0.1.


From: guix-commits
Subject: 58/189: gnu: Add rust-retain-mut-0.1.
Date: Mon, 21 Sep 2020 06:01:10 -0400 (EDT)

arunisaac pushed a commit to branch wip-swc
in repository guix.

commit 82d8af2f195ddd8ee7e0b2dbd4c71fb1e101d4eb
Author: Arun Isaac <arunisaac@systemreboot.net>
AuthorDate: Wed Sep 16 23:19:31 2020 +0530

    gnu: Add rust-retain-mut-0.1.
    
    * gnu/packages/crates-io.scm (rust-retain-mut-0.1): New variable.
---
 gnu/packages/crates-io.scm | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index a6937a1..129b9f7 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -21491,6 +21491,25 @@ uses finite automata and guarantees linear time 
matching on all inputs.")
     (license (list license:asl2.0
                    license:expat))))
 
+(define-public rust-retain-mut-0.1
+  (package
+    (name "rust-retain-mut")
+    (version "0.1.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "retain_mut" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "0cgmm1q7sr31r9wk7syh53ipgqpl37jzsvahdhmwrsi6mmcdc1g0"))))
+    (build-system cargo-build-system)
+    (home-page "https://github.com/upsuper/retain_mut";)
+    (synopsis "Mutable borrow for the retain predicate")
+    (description "This package provides retain_mut method that has the same
+functionality as retain but gives mutable borrow to the predicate.")
+    (license license:expat)))
+
 (define-public rust-rgb-0.8
   (package
     (name "rust-rgb")



reply via email to

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