summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorArun Isaac <arunisaac@systemreboot.net>2020-09-16 23:14:25 +0530
committerArun Isaac <arunisaac@systemreboot.net>2020-10-12 11:41:46 +0530
commit10826098753bdcd140fb7ecc5083846f0a676786 (patch)
tree1f690afe7b0c25c0374b0bfbcbd3dd5e5e99983f /gnu
parentd7589c22636a3880cca4025ed79c7c2ba39ffc2c (diff)
downloadguix-10826098753bdcd140fb7ecc5083846f0a676786.tar.gz
gnu: Add rust-take-mut-0.2.
* gnu/packages/crates-io.scm (rust-take-mut-0.2): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-io.scm18
1 files changed, 18 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 6f1d75d3ed..b0558ab748 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -24560,6 +24560,24 @@ syntax extension expansion.")
     (description "Send log messages to syslog.")
     (license license:expat)))
 
+(define-public rust-take-mut-0.2
+  (package
+    (name "rust-take-mut")
+    (version "0.2.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "take_mut" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "0q2d7w6nd5bl7bay5csq065sjg8fw0jcx6hl1983cpzf25fh0r7p"))))
+    (build-system cargo-build-system)
+    (home-page "https://github.com/Sgeo/take_mut")
+    (synopsis "Take a T from a &mut T temporarily")
+    (description "This package lets you temporarily take a T from a &mut T.")
+    (license license:expat)))
+
 (define-public rust-takeable-option-0.4
   (package
     (name "rust-takeable-option")