guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#72021] [PATCH 10/38] gnu: Add rust-infer-0.15.


From: Wilko Meyer
Subject: [bug#72021] [PATCH 10/38] gnu: Add rust-infer-0.15.
Date: Wed, 10 Jul 2024 01:36:50 +0200

* 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






reply via email to

[Prev in Thread] Current Thread [Next in Thread]