[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/05: gnu: Add rust-bitflags-1.2.
From: |
guix-commits |
Subject: |
01/05: gnu: Add rust-bitflags-1.2. |
Date: |
Sun, 23 Jan 2022 11:21:06 -0500 (EST) |
ngz pushed a commit to branch master
in repository guix.
commit eeba3facd0956730a9c4532d469ad9241872f57c
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Sun Jan 23 17:10:25 2022 +0100
gnu: Add rust-bitflags-1.2.
* gnu/packages/crates-io.scm (rust-bitflags-1.2): New variable.
---
gnu/packages/crates-io.scm | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
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)