GNU bug report logs -
#75677
[PATCH rust-team 00/89] Assorted package updates for rust-team
Previous Next
Full log
Message #263 received at 75677 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/crates-io.scm (rust-fancy-regex-0.10): New variable.
---
gnu/packages/crates-io.scm | 28 +++++++++++++++++++++++++++-
1 file changed, 27 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index cfc4f7b965..214e58e13c 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -25471,10 +25471,36 @@ (define-public rust-fancy-regex-0.11
("rust-matches" ,rust-matches-0.1)
("rust-quickcheck" ,rust-quickcheck-1))))))
-(define-public rust-fancy-regex-0.7
+(define-public rust-fancy-regex-0.10
(package
(inherit rust-fancy-regex-0.11)
(name "rust-fancy-regex")
+ (version "0.10.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "fancy-regex" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0rn7wfihsk877h3kwzzm99ykflfkhg039l4synm9algs8qnsny06"))
+ (modules '((guix build utils)))
+ (snippet
+ '(begin (substitute* "Cargo.toml"
+ (("\"= ([[:digit:]]+(\\.[[:digit:]]+)*)" _ version)
+ (string-append "\"^" version)))))))
+ (arguments
+ `(#:cargo-inputs (("rust-bit-set" ,rust-bit-set-0.5)
+ ("rust-regex" ,rust-regex-1))
+ #:cargo-development-inputs (("rust-bitflags" ,rust-bitflags-1)
+ ("rust-criterion" ,rust-criterion-0.3)
+ ("rust-half" ,rust-half-1)
+ ("rust-matches" ,rust-matches-0.1)
+ ("rust-quickcheck" ,rust-quickcheck-1))))))
+
+(define-public rust-fancy-regex-0.7
+ (package
+ (inherit rust-fancy-regex-0.10)
+ (name "rust-fancy-regex")
(version "0.7.1")
(source
(origin
--
2.47.1
This bug report was last modified today.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.