From 51ede8c2fa790944cc52c0851e8015f0ec8aa96e Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Mon, 17 Apr 2023 20:58:54 +0300 Subject: [PATCH] gnu: Add rust-nom-derive-impl-0.10. * gnu/packages/crates-io.scm (rust-nom-derive-impl-0.10): New variable. --- gnu/packages/crates-io.scm | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 1a61959ae4..fba1026073 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -38336,6 +38336,27 @@ combinators library (fork for proposals for v8)") (description "This package derives custom nom parsers from structs.") (license (list license:expat license:asl2.0)))) +(define-public rust-nom-derive-impl-0.10 + (package + (name "rust-nom-derive-impl") + (version "0.10.1") + (source (origin + (method url-fetch) + (uri (crate-uri "nom-derive-impl" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0qnsvvg74wdpzhbkxrndr7x6vb1kvhrd60hfwz1kw3abm29rl2yd")))) + (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)))) + (home-page "https://github.com/rust-bakery/nom-derive") + (synopsis "Custom derive nom parsers from struct") + (description "This package provides custom derive 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")