diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2021-10-10 11:00:49 +0300 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2021-10-10 12:31:31 +0300 |
commit | e0363d7dbc53c3f27cc4b45379263ae69af7fefe (patch) | |
tree | cdb620d922458fa613b3fe43f19a78fb0d7d229c /gnu/packages/crates-io.scm | |
parent | 8f4ce5dee65d5333b329a7122f47bab9ae34b09a (diff) | |
download | guix-e0363d7dbc53c3f27cc4b45379263ae69af7fefe.tar guix-e0363d7dbc53c3f27cc4b45379263ae69af7fefe.tar.gz |
gnu: Add rust-bitflags-1.3.
* gnu/packages/crates-io.scm (rust-bitflags-1.3): New variable.
Diffstat (limited to 'gnu/packages/crates-io.scm')
-rw-r--r-- | gnu/packages/crates-io.scm | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 82512e7801..b4d9140dd7 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -5195,6 +5195,34 @@ behave like a set of bitflags.") (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) |