diff options
author | Wilko Meyer <w@wmeyer.eu> | 2024-07-10 01:36:50 +0200 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2024-11-28 11:05:25 +0200 |
commit | 53fed010fd4886d7d71e90d73bc8f60f1d60328a (patch) | |
tree | 60cdd33871f6324dd8fcf1ce1160e2b4bfd80abe | |
parent | 0ecf6aa459de5ae29082e5615364376948876096 (diff) | |
download | guix-53fed010fd4886d7d71e90d73bc8f60f1d60328a.tar guix-53fed010fd4886d7d71e90d73bc8f60f1d60328a.tar.gz |
gnu: Add rust-infer-0.15.
* gnu/packages/crates-io.scm (rust-infer-0.15): New variable.
(rust-infer-0.2): Inherit from rust-infer-0.15.
Change-Id: I84b1823f4f071efa54396c7dd9648e77b3789473
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
-rw-r--r-- | gnu/packages/crates-io.scm | 24 |
1 files changed, 20 insertions, 4 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 8de62b70ca..f96426a385 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -35375,19 +35375,21 @@ at compile time so the leftmost non-space character is in the first column.") "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 @@ -35395,6 +35397,20 @@ package. It is obsolete for indoc versions > 1."))) 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")))) + (arguments `(#:tests? #false)))) + (define-public rust-inferno-0.11 (package (name "rust-inferno") |