From 319e48794c50822e463ad34d23bb1872b0d6b22c Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Sun, 3 Jan 2021 21:49:26 +0100 Subject: gnu: Add rust-cbindgen-0.15. * gnu/packages/rust-apps.scm (rust-cbindgen-0.15): New variable. --- gnu/packages/rust-apps.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) (limited to 'gnu/packages') diff --git a/gnu/packages/rust-apps.scm b/gnu/packages/rust-apps.scm index 603f225d96..3745a8377c 100644 --- a/gnu/packages/rust-apps.scm +++ b/gnu/packages/rust-apps.scm @@ -401,6 +401,33 @@ gitignore rules.") #:cargo-development-inputs (("rust-serial-test" ,rust-serial-test-0.5)))))) +(define-public rust-cbindgen-0.15 + (package + (inherit rust-cbindgen) + (name "rust-cbindgen") + (version "0.15.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "cbindgen" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0dgf49zij9rxnf0lv4k5gcmx1mxcz16czkk6q63anz0xp8ds3xhx")))) + (arguments + `(#:tests? #false ;missing files + #:cargo-inputs + (("rust-clap" ,rust-clap-2) + ("rust-heck" ,rust-heck-0.3) + ("rust-indexmap" ,rust-indexmap-1) + ("rust-log" ,rust-log-0.4) + ("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-syn" ,rust-syn-1) + ("rust-tempfile" ,rust-tempfile-3) + ("rust-toml" ,rust-toml-0.5)))))) + (define-public rust-cbindgen-0.14 (package (inherit rust-cbindgen) -- cgit v1.2.3