@@ -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")