GNU bug report logs -
#72021
[PATCH 00/38] gnu: Add ouch.
Previous Next
Reported by: Wilko Meyer <w <at> wmeyer.eu>
Date: Tue, 9 Jul 2024 23:36:02 UTC
Severity: normal
Tags: patch
Done: Efraim Flashner <efraim <at> flashner.co.il>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
* gnu/packages/crates-io.scm (rust-infer-0.15): New variable.
(rust-infer-0.2): Inherit from rust-infer-0.15.
Change-Id: I84b1823f4f071efa54396c7dd9648e77b3789473
---
gnu/packages/crates-io.scm | 25 +++++++++++++++++++++----
1 file changed, 21 insertions(+), 4 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 9c216157cb..f83e287db5 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -33904,19 +33904,21 @@ (define-public rust-indoc-impl-0.3
"This package provides macros for use with the @code{rust-indoc}
package. It is obsolete for indoc versions > 1.")))
-(define-public rust-infer-0.2
+(define-public rust-infer-0.15
(package
(name "rust-infer")
- (version "0.2.3")
+ (version "0.15.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "infer" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "1b4ziqcv0d1wga5yfqf620dkgzijsdw3ylnzq61bfaxla2d85sb4"))))
+ (base32 "16d1b83h5m87h6kq4z8kwjrzll5dq6rijg2iz437m008m4nn4cyb"))))
(build-system cargo-build-system)
- (arguments `(#:tests? #false)) ;missing files
+ (arguments
+ `(#:tests? #false ;missing files
+ #:cargo-inputs (("rust-cfb" ,rust-cfb-0.7))))
(home-page "https://github.com/bojand/infer")
(synopsis "Infer file types based on its magic number signature")
(description
@@ -33924,6 +33926,21 @@ (define-public rust-infer-0.2
signature.")
(license license:expat)))
+(define-public rust-infer-0.2
+ (package
+ (inherit rust-infer-0.15)
+ (name "rust-infer")
+ (version "0.2.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "infer" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1b4ziqcv0d1wga5yfqf620dkgzijsdw3ylnzq61bfaxla2d85sb4"))))
+ (build-system cargo-build-system)
+ (arguments `(#:tests? #false))))
+
(define-public rust-inferno-0.11
(package
(name "rust-inferno")
--
2.41.0
This bug report was last modified 185 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.