diff options
author | Joseph LaFreniere <joseph@lafreniere.xyz> | 2020-11-20 08:27:03 -0600 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2020-12-17 11:49:39 +0200 |
commit | f80ddc64c671f98ece529494158dfad3b1344370 (patch) | |
tree | b7d7ff25c9615440dbe14e0d808be999b00dcecd /gnu | |
parent | 49e5c2d93a34b787873468c0b38280b5c6ed4308 (diff) |
gnu: Add rust-nom-2.
* gnu/packages/crates-io.scm (rust-nom-2): New variable.
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/crates-io.scm | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 23ed6443aa..6cf276c904 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -17274,6 +17274,27 @@ combinators library.") ("rust-memchr" ,rust-memchr-1.0) ("rust-regex" ,rust-regex-0.2)))))) +(define-public rust-nom-2 + (package + (inherit rust-nom-4.2) + (name "rust-nom") + (version "2.2.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "nom" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1zv6ig7nw532rl4p35jsahglfhyyznjkblwa6si6c0plxhlsflfg")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-lazy-static" ,rust-lazy-static-0.2) + ("rust-regex" ,rust-regex-0.2)) + #:tests? #f)))) + (define-public rust-nom-1.2 (package (inherit rust-nom-4.2) |