aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorMilkey Mouse <milkeymouse@meme.institute>2021-08-31 20:54:08 -0700
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2021-09-07 22:01:11 +0200
commit198b376aea1c5c2a65e59b5097ca4c82c3d42c8c (patch)
tree8be337f34cbb17679555edf555908193bfce9449 /gnu
parent6597c07b74c558e911bacf452e40e25d9bb79ef0 (diff)
downloadguix-198b376aea1c5c2a65e59b5097ca4c82c3d42c8c.tar
guix-198b376aea1c5c2a65e59b5097ca4c82c3d42c8c.tar.gz
gnu: Add rust-nom-derive-0.7.
* gnu/packages/crates-io.scm (rust-nom-derive-0.7): New variable. Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-io.scm28
1 files changed, 28 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 68e096a7b6..afbd680f66 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -29115,6 +29115,34 @@ combinators library.")
;; This is an ancient version and all inputs are optional.
`(#:skip-build? #t))))
+(define-public rust-nom-derive-0.7
+ (package
+ (name "rust-nom-derive")
+ (version "0.7.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "nom-derive" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1xwbbkfhr8zrlcknlj75l50rp2b267qm9sd8vphx6gwzyg24n2zz"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-proc-macro2" ,rust-proc-macro2-1)
+ ("rust-quote" ,rust-quote-1)
+ ("rust-syn" ,rust-syn-1))
+ #:cargo-development-inputs
+ (("rust-nom" ,rust-nom-6)
+ ("rust-pretty-assertions" ,rust-pretty-assertions-0.7)
+ ("rust-trybuild" ,rust-trybuild-1))))
+ (home-page "https://github.com/rust-bakery/nom-derive")
+ (synopsis "Custom derive nom parsers from struct")
+ (description "This package derives custom nom parsers from structs.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-noop-proc-macro-0.3
(package
(name "rust-noop-proc-macro")