guix-commits
[Top][All Lists]
Advanced

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

57/188: gnu: Add rust-retain-mut-0.1.


From: guix-commits
Subject: 57/188: gnu: Add rust-retain-mut-0.1.
Date: Mon, 12 Oct 2020 02:24:51 -0400 (EDT)

arunisaac pushed a commit to branch master
in repository guix.

commit c345ff6acd2f82c2aa61d91128c5e298f081a286
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 b0558ab..1fa8372 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -19718,6 +19718,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-ring-0.16
   (package
     (name "rust-ring")



reply via email to

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