summary refs log tree commit diff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2019-08-28 16:02:13 +0300
committerEfraim Flashner <efraim@flashner.co.il>2019-08-28 16:53:05 +0300
commita567cde9b19bb0b1f82c4a0cb51e92c65fb4c837 (patch)
tree1aeb176a4af85da5ad8c73bdfc8d3041d9a1cc02
parent33d93a0aec86a60c9e2c2033b2c1cebb9617bb06 (diff)
downloadguix-a567cde9b19bb0b1f82c4a0cb51e92c65fb4c837.tar.gz
gnu: Add rust-modifier.
* gnu/packages/crates-io.scm (rust-modifier): New variable.
-rw-r--r--gnu/packages/crates-io.scm20
1 files changed, 20 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 21724d1778..becdd811a3 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -698,6 +698,26 @@ whether an expression matches a pattern.")
     (license (list license:asl2.0
                    license:expat))))
 
+(define-public rust-modifier
+  (package
+    (name "rust-modifier")
+    (version "0.1.0")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "modifier" version))
+        (file-name (string-append name "-" version ".tar.gz"))
+        (sha256
+         (base32
+          "0n3fmgli1nsskl0whrfzm1gk0rmwwl6pw1q4nb9sqqmn5h8wkxa1"))))
+    (build-system cargo-build-system)
+    (home-page "https://github.com/reem/rust-modifier")
+    (synopsis
+      "Chaining APIs for both self -> Self and &mut self methods.")
+    (description
+      "Chaining APIs for both self -> Self and &mut self methods.")
+    (license license:expat)))
+
 (define-public rust-num-integer
   (package
     (name "rust-num-integer")