summary refs log tree commit diff
diff options
context:
space:
mode:
authorPetr Hodina <phodina@protonmail.com>2022-02-05 15:04:41 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2022-02-19 11:39:44 +0100
commit9047dbcaa447e0ac3ffe2c7bd3d52617c57c9ade (patch)
treea19e942208e848dcd0d68f5d05557465d1fcbc82
parentd6e007586715850fd60de25e7e6681516c18555e (diff)
downloadguix-9047dbcaa447e0ac3ffe2c7bd3d52617c57c9ade.tar.gz
gnu: Add rust-gumdrop-0.7.
* gnu/packages/crates-io.scm (rust-gumdrop-0.7): New variable. Inherit
  from rust-gumdrop-0.8.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
-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 0464105303..7ae38bf9a1 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -25617,6 +25617,26 @@ provides standard printing of search results, similar to grep itself.")
 support.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-gumdrop-0.7
+  (package
+    (inherit rust-gumdrop-0.8)
+    (name "rust-gumdrop")
+    (version "0.7.0")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "gumdrop" version))
+        (file-name (string-append name "-" version ".tar.gz"))
+        (sha256
+          (base32 "1pmw21ggwqqizh66zp7bylbffi6qs064w2rfj3rc3smyq65r0l7f"))))
+    (arguments
+      `(#:skip-build?
+        #t
+        #:cargo-inputs
+        (("rust-gumdrop-derive" ,rust-gumdrop-derive-0.7))
+        #:cargo-development-inputs
+        (("rust-assert-matches" ,rust-assert-matches-1))))))
+
 (define-public rust-gumdrop-derive-0.8
   (package
     (name "rust-gumdrop-derive")