From b7f77a58fb50c2f85d4a90ba73bc3e0683e2886b Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Thu, 14 Mar 2024 10:56:48 +0200 Subject: [PATCH] gnu: Add rust-gimli-0.28. * gnu/packages/crates-io.scm (rust-gimli-0.28): New variable. (rust-gimli-0.27): Inherit from rust-gimli-0.28. Change-Id: I888f9680474a2309b16395e42883996ec9d0bf35 --- gnu/packages/crates-io.scm | 38 ++++++++++++++++++++++++++++++-------- 1 file changed, 30 insertions(+), 8 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 82ede22232..2495d24935 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -26757,8 +26757,37 @@ permitted in ordinary Rust.") ;; Either license can be chosen at the users option. (license (list license:expat license:asl2.0)))) +(define-public rust-gimli-0.28 + (package + (name "rust-gimli") + (version "0.28.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "gimli" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0lv23wc8rxvmjia3mcxc6hj9vkqnv1bqq0h8nzjcgf71mrxx6wa2")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-compiler-builtins" ,rust-compiler-builtins-0.1) + ("rust-fallible-iterator" ,rust-fallible-iterator-0.3) + ("rust-indexmap" ,rust-indexmap-2) + ("rust-rustc-std-workspace-alloc" ,rust-rustc-std-workspace-alloc-1) + ("rust-rustc-std-workspace-core" ,rust-rustc-std-workspace-core-1) + ("rust-stable-deref-trait" ,rust-stable-deref-trait-1)) + #:cargo-development-inputs (("rust-test-assembler" ,rust-test-assembler-0.1)))) + (home-page "https://github.com/gimli-rs/gimli") + (synopsis "Library for reading and writing the DWARF debugging format") + (description + "This package provides a library for reading and writing the DWARF +debugging format.") + (license (list license:expat license:asl2.0)))) + (define-public rust-gimli-0.27 (package + (inherit rust-gimli-0.28) (name "rust-gimli") (version "0.27.2") (source (origin @@ -26768,7 +26797,6 @@ permitted in ordinary Rust.") (sha256 (base32 "1d5v6jjchf4872jynjsg5ni4vankm1341bas8qindygb6g9962md")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-compiler-builtins" ,rust-compiler-builtins-0.1) @@ -26786,13 +26814,7 @@ permitted in ordinary Rust.") ("rust-rayon" ,rust-rayon-1) ("rust-regex" ,rust-regex-1) ("rust-test-assembler" ,rust-test-assembler-0.1) - ("rust-typed-arena" ,rust-typed-arena-2)))) - (home-page "https://github.com/gimli-rs/gimli") - (synopsis "Library for reading and writing the DWARF debugging format") - (description - "This package provides a library for reading and writing the DWARF -debugging format.") - (license (list license:expat license:asl2.0)))) + ("rust-typed-arena" ,rust-typed-arena-2)))))) (define-public rust-gimli-0.26 (package