gnu: Add rust-cbindgen-0.16.
* gnu/packages/rust-apps.scm (rust-cbindgen-0.16): New variable.master
parent
d944f10ddd
commit
700ee27ffa
|
@ -6,7 +6,7 @@
|
||||||
;;; Copyright © 2020 Leo Famulari <leo@famulari.name>
|
;;; Copyright © 2020 Leo Famulari <leo@famulari.name>
|
||||||
;;; Copyright © 2020 Mark H Weaver <mhw@netris.org>
|
;;; Copyright © 2020 Mark H Weaver <mhw@netris.org>
|
||||||
;;; Copyright © 2020 Gabriel Arazas <foo.dogsquared@gmail.com>
|
;;; Copyright © 2020 Gabriel Arazas <foo.dogsquared@gmail.com>
|
||||||
;;; Copyright © 2020 Nicolas Goaziou <mail@nicolasgoaziou.fr>
|
;;; Copyright © 2020, 2021 Nicolas Goaziou <mail@nicolasgoaziou.fr>
|
||||||
;;;
|
;;;
|
||||||
;;; This file is part of GNU Guix.
|
;;; This file is part of GNU Guix.
|
||||||
;;;
|
;;;
|
||||||
|
@ -371,6 +371,35 @@ gitignore rules.")
|
||||||
"This package provides a tool for generating C/C++ bindings to Rust code.")
|
"This package provides a tool for generating C/C++ bindings to Rust code.")
|
||||||
(license license:mpl2.0)))
|
(license license:mpl2.0)))
|
||||||
|
|
||||||
|
(define-public rust-cbindgen-0.16
|
||||||
|
(package
|
||||||
|
(inherit rust-cbindgen)
|
||||||
|
(name "rust-cbindgen")
|
||||||
|
(version "0.16.0")
|
||||||
|
(source
|
||||||
|
(origin
|
||||||
|
(method url-fetch)
|
||||||
|
(uri (crate-uri "cbindgen" version))
|
||||||
|
(file-name (string-append name "-" version ".tar.gz"))
|
||||||
|
(sha256
|
||||||
|
(base32 "049cai626nzw0km03parx4sxwaxgbr7i5ifjbjwnfxkqkj5k2i4k"))))
|
||||||
|
(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))
|
||||||
|
#:cargo-development-inputs
|
||||||
|
(("rust-serial-test" ,rust-serial-test-0.5))))))
|
||||||
|
|
||||||
(define-public rust-cbindgen-0.14
|
(define-public rust-cbindgen-0.14
|
||||||
(package
|
(package
|
||||||
(inherit rust-cbindgen)
|
(inherit rust-cbindgen)
|
||||||
|
|
Reference in New Issue