gnu: Add rust-bitflags-1.3.

* gnu/packages/crates-io.scm (rust-bitflags-1.3): New variable.
This commit is contained in:
Efraim Flashner 2021-10-10 11:00:49 +03:00
parent 8f4ce5dee6
commit e0363d7dbc
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -5195,6 +5195,34 @@ (define-public rust-bitflags-1
(license (list license:asl2.0
license:expat))))
;; TODO: Absorb this package into rust-bitflags-1 in core-updates with the
;; newer version of rust so we don't have to track down all dependants of this
;; package to ensure a compatible version of rust.
(define-public rust-bitflags-1.3
(package
(inherit rust-bitflags-1)
(name "rust-bitflags")
(version "1.3.2")
(source
(origin
(method url-fetch)
(uri (crate-uri "bitflags" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "12ki6w8gn1ldq7yz9y680llwk5gmrhrzszaa17g1sbrw2r2qvwxy"))))
(arguments
`(#:tests? #f ; Tests require rust-1.46 or newer.
#:cargo-inputs
(("rust-compiler-builtins" ,rust-compiler-builtins-0.1)
("rust-rustc-std-workspace-core" ,rust-rustc-std-workspace-core-1))
#:cargo-development-inputs
(("rust-rustversion" ,rust-rustversion-1)
("rust-serde" ,rust-serde-1)
("rust-serde-derive" ,rust-serde-derive-1)
("rust-serde-json" ,rust-serde-json-1)
("rust-trybuild" ,rust-trybuild-1)
("rust-walkdir" ,rust-walkdir-2))))))
(define-public rust-bitflags-0.9
(package
(inherit rust-bitflags-1)