diff options
author | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2022-01-23 17:10:25 +0100 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2022-01-23 17:19:06 +0100 |
commit | eeba3facd0956730a9c4532d469ad9241872f57c (patch) | |
tree | 1bacf79b9224e7e3abc8d5121957511893013bdd /gnu/packages/crates-io.scm | |
parent | fc2ff004f70d59db80fcd70e659e6a0ff96e0a5f (diff) | |
download | guix-eeba3facd0956730a9c4532d469ad9241872f57c.tar.gz |
gnu: Add rust-bitflags-1.2.
* gnu/packages/crates-io.scm (rust-bitflags-1.2): New variable.
Diffstat (limited to 'gnu/packages/crates-io.scm')
-rw-r--r-- | gnu/packages/crates-io.scm | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 52b15f65a9..845346c114 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -6883,6 +6883,22 @@ behave like a set of bitflags.") (license (list license:asl2.0 license:expat)))) +;; XXX: The package below is meant to fix rust-nix-0.22, which has the +;; following requirements for bitflags version: ">=1.1.0 <1.3.0", and every +;; package using the latter as a dependency (e.g., nushell 0.43). +(define-public rust-bitflags-1.2 + (package + (inherit rust-bitflags-1) + (name "rust-bitflags") + (version "1.2.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "bitflags" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "14qnd5nq8p2almk79m4m8ydqhd413yaxsyjp5xd19g3mikzf47fg")))))) + (define-public rust-bitflags-0.9 (package (inherit rust-bitflags-1) |