me
/
guix
Archived
1
0
Fork 0

gnu: rust-bindgen-0.64: Add package.

* gnu/packages/crates-io.scm (rust-bindgen-0.64): New package.
(rust-bindgen-0.58): Inherit from it.
master
Maxim Cournoyer 2023-04-03 09:13:19 -04:00
parent e17c9500b0
commit 885060912f
No known key found for this signature in database
GPG Key ID: 1260E46482E63562
1 changed files with 23 additions and 11 deletions

View File

@ -6147,17 +6147,17 @@ that uses Serde for transforming structs into bytes and vice versa!")
(("rust-serde-bytes" ,rust-serde-bytes-0.10) (("rust-serde-bytes" ,rust-serde-bytes-0.10)
("rust-serde-derive" ,rust-serde-derive-1)))))) ("rust-serde-derive" ,rust-serde-derive-1))))))
(define-public rust-bindgen-0.59 (define-public rust-bindgen-0.64
(package (package
(name "rust-bindgen") (name "rust-bindgen")
(version "0.59.2") (version "0.64.0")
(source (source (origin
(origin (method url-fetch)
(method url-fetch) (uri (crate-uri "bindgen" version))
(uri (crate-uri "bindgen" version)) (file-name (string-append name "-" version ".tar.gz"))
(file-name (string-append name "-" version ".tar.gz")) (sha256
(sha256 (base32
(base32 "1f4fpycxmbrqk8r2x9brhfgjh86mzc6bngn4a9631x78b2jaklib")))) "1d0zmfc5swjgaydbamxb4xm687ahgv18dbcpvrzbf39665h3w964"))))
(build-system cargo-build-system) (build-system cargo-build-system)
(arguments (arguments
`(#:skip-build? #t `(#:skip-build? #t
@ -6165,8 +6165,6 @@ that uses Serde for transforming structs into bytes and vice versa!")
(("rust-bitflags" ,rust-bitflags-1) (("rust-bitflags" ,rust-bitflags-1)
("rust-cexpr" ,rust-cexpr-0.6) ("rust-cexpr" ,rust-cexpr-0.6)
("rust-clang-sys" ,rust-clang-sys-1) ("rust-clang-sys" ,rust-clang-sys-1)
("rust-clap" ,rust-clap-2)
("rust-env-logger" ,rust-env-logger-0.9)
("rust-lazy-static" ,rust-lazy-static-1) ("rust-lazy-static" ,rust-lazy-static-1)
("rust-lazycell" ,rust-lazycell-1) ("rust-lazycell" ,rust-lazycell-1)
("rust-log" ,rust-log-0.4) ("rust-log" ,rust-log-0.4)
@ -6176,6 +6174,7 @@ that uses Serde for transforming structs into bytes and vice versa!")
("rust-regex" ,rust-regex-1) ("rust-regex" ,rust-regex-1)
("rust-rustc-hash" ,rust-rustc-hash-1) ("rust-rustc-hash" ,rust-rustc-hash-1)
("rust-shlex" ,rust-shlex-1) ("rust-shlex" ,rust-shlex-1)
("rust-syn" ,rust-syn-1)
("rust-which" ,rust-which-4)))) ("rust-which" ,rust-which-4))))
(home-page "https://rust-lang.github.io/rust-bindgen/") (home-page "https://rust-lang.github.io/rust-bindgen/")
(synopsis "Generate Rust FFI bindings to C and C++ libraries") (synopsis "Generate Rust FFI bindings to C and C++ libraries")
@ -6183,6 +6182,19 @@ that uses Serde for transforming structs into bytes and vice versa!")
bindings to C and C++ libraries.") bindings to C and C++ libraries.")
(license license:bsd-3))) (license license:bsd-3)))
(define-public rust-bindgen-0.59
(package
(inherit rust-bindgen-0.64)
(name "rust-bindgen")
(version "0.59.2")
(source
(origin
(method url-fetch)
(uri (crate-uri "bindgen" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1f4fpycxmbrqk8r2x9brhfgjh86mzc6bngn4a9631x78b2jaklib"))))))
(define-public rust-bindgen-0.58 (define-public rust-bindgen-0.58
(package (package
(inherit rust-bindgen-0.59) (inherit rust-bindgen-0.59)