summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorJohn Soo <jsoo1@asu.edu>2020-01-31 20:55:48 -0800
committerEfraim Flashner <efraim@flashner.co.il>2020-02-05 13:34:26 +0200
commit743ead2b4701d642a64ff67d1f6b21ef9db21600 (patch)
tree7bb1ef5e46d69986a85a28e7c71d24e1d70879b2 /gnu
parentdb4dcf73eca681fbff04a0c6ec91ef8934fe1a99 (diff)
downloadguix-743ead2b4701d642a64ff67d1f6b21ef9db21600.tar.gz
gnu: Add rust-nom-1.2.
* gnu/packages/crates-io.scm (rust-nom-1.2): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
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 3a3a392089..78ab26a624 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -6833,6 +6833,24 @@ implementation (which is unstable / requires nightly).")
 combinators library.")
     (license license:expat)))
 
+(define-public rust-nom-1.2
+  (package
+    (inherit rust-nom-4.2)
+    (name "rust-nom")
+    (version "1.2.4")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "nom" version))
+       (file-name
+        (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "1kjh42w67z1hh1dw3jrilgqrf54jk2xcvhw4rcdm4wclzmbc5f55"))))
+    (arguments
+      ;; This is an ancient version and all inputs are optional.
+     `(#:skip-build? #t))))
+
 (define-public rust-num-complex-0.2
   (package
     (name "rust-num-complex")