summary refs log tree commit diff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2023-07-13 19:18:36 +0300
committerEfraim Flashner <efraim@flashner.co.il>2023-07-18 20:56:22 +0300
commit87a0838caf0834165b927cab42c2f06acb7d3b8e (patch)
treedff08c280c6af0ddc9297a3c77aeb101cfbe014d
parentc8abd1f5678f325b3a18d8e35dc00a924f2c30c2 (diff)
downloadguix-87a0838caf0834165b927cab42c2f06acb7d3b8e.tar.gz
gnu: Add rust-goblin-0.7.
* gnu/packages/crates-io.scm (rust-goblin-0.7): New variable.
(rust-goblin-0.6): Inherit from rust-goblin-0.7.
-rw-r--r--gnu/packages/crates-io.scm25
1 files changed, 22 insertions, 3 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 4c2062414d..75c0f9d5cb 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -27254,17 +27254,17 @@ timers.")
 libraries GMP, MPFR, and MPC.")
     (license license:lgpl3+)))
 
-(define-public rust-goblin-0.6
+(define-public rust-goblin-0.7
   (package
     (name "rust-goblin")
-    (version "0.6.1")
+    (version "0.7.1")
     (source (origin
               (method url-fetch)
               (uri (crate-uri "goblin" version))
               (file-name (string-append name "-" version ".tar.gz"))
               (sha256
                (base32
-                "0s7zs27b192virbp88y2fgq8p6nb8blkn7byqyl4cv7bm3j4ssqd"))))
+                "0d11fk9bdxzf228xpr8v6d6a01dib00khjg5bldk9kf2d51inz7j"))))
     (build-system cargo-build-system)
     (arguments
      `(#:tests? #f          ; Not all files included.
@@ -27278,6 +27278,25 @@ libraries GMP, MPFR, and MPC.")
 and loading crate.")
     (license license:expat)))
 
+(define-public rust-goblin-0.6
+  (package
+    (inherit rust-goblin-0.7)
+    (name "rust-goblin")
+    (version "0.6.1")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "goblin" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "0s7zs27b192virbp88y2fgq8p6nb8blkn7byqyl4cv7bm3j4ssqd"))))
+    (arguments
+     `(#:tests? #f          ; Not all files included.
+       #:cargo-inputs
+       (("rust-log" ,rust-log-0.4)
+        ("rust-plain" ,rust-plain-0.2)
+        ("rust-scroll" ,rust-scroll-0.11))))))
+
 (define-public rust-goblin-0.2
   (package
     (inherit rust-goblin-0.6)