From 87a0838caf0834165b927cab42c2f06acb7d3b8e Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Thu, 13 Jul 2023 19:18:36 +0300 Subject: 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. --- gnu/packages/crates-io.scm | 25 ++++++++++++++++++++++--- 1 file 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) -- cgit 1.4.1