aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorJohn Soo <jsoo1@asu.edu>2019-12-15 09:36:16 -0800
committerEfraim Flashner <efraim@flashner.co.il>2020-01-02 20:16:45 +0200
commit5952f575df1b0900f3b5c9ed6fa3fb8ef2e7a6dd (patch)
tree04b9f367a1e5e2956849eed8ddabcaca925f8624 /gnu
parentb3cddd572160bcfd03402d53b69cfe0651d98fe2 (diff)
downloadguix-5952f575df1b0900f3b5c9ed6fa3fb8ef2e7a6dd.tar
guix-5952f575df1b0900f3b5c9ed6fa3fb8ef2e7a6dd.tar.gz
gnu: Add rust-bindgen-0.50.
* gnu/packages/crates-io.scm (rust-bindgen-0.50): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-io.scm45
1 files changed, 45 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index d7ee7562a3..149141bd61 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -456,6 +456,51 @@ and no more (caveat: black_box is still missing!).")
that uses Serde for transforming structs into bytes and vice versa!")
(license license:expat)))
+(define-public rust-bindgen-0.50
+ (package
+ (name "rust-bindgen")
+ (version "0.50.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "bindgen" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1k4n1d002vrfn1mlpww3ib7f275yn4rpxfwkqpr9bym27zg17ab5"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-bitflags" ,rust-bitflags-1)
+ ("rust-cexpr" ,rust-cexpr-0.3)
+ ("rust-cfg-if" ,rust-cfg-if-0.1)
+ ("rust-clang-sys" ,rust-clang-sys-0.28)
+ ("rust-clap" ,rust-clap-2)
+ ("rust-env-logger" ,rust-env-logger-0.6)
+ ("rust-fxhash" ,rust-fxhash-0.2)
+ ("rust-lazy-static" ,rust-lazy-static-1.3)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-peeking-take-while" ,rust-peeking-take-while-0.1)
+ ("rust-proc-macro2" ,rust-proc-macro2-0.4)
+ ("rust-quote" ,rust-quote-1.0)
+ ("rust-regex" ,rust-regex-1.1)
+ ("rust-shlex" ,rust-shlex-0.1)
+ ("rust-which" ,rust-which-2.0))
+ #:cargo-development-inputs
+ (("rust-clap" ,rust-clap-2)
+ ("rust-diff" ,rust-diff-0.1)
+ ("rust-shlex" ,rust-shlex-0.1))))
+ (home-page
+ "https://rust-lang.github.io/rust-bindgen/")
+ (synopsis
+ "Automatically generates FFI bindings to C and C++libraries")
+ (description
+ "Automatically generates Rust FFI bindings to C and C++
+libraries.")
+ (license license:bsd-3)))
+
(define-public rust-bit-set-0.5
(package
(name "rust-bit-set")