mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-26 12:39:36 -05:00
gnu: Add rust-bitflags-1.3.
* gnu/packages/crates-io.scm (rust-bitflags-1.3): New variable.
This commit is contained in:
parent
8f4ce5dee6
commit
e0363d7dbc
1 changed files with 28 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue