gnu: Add rust-object-0.36.

* gnu/packages/crates-io.scm (rust-object-0.36): New variable.
(rust-object-0.32): Inherit from rust-object-0.36.

Change-Id: I74e501d38561e2d3d297b779886bfe958ce48c80
This commit is contained in:
Efraim Flashner 2024-09-22 15:38:40 +03:00
parent b8d4e14cb9
commit 2e09afd7fe
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -49234,8 +49234,47 @@ (define-public rust-obj-0.9
"This package provides a package for loading Wavefront @code{.obj} files.")
(license license:asl2.0)))
(define-public rust-object-0.36
(package
(name "rust-object")
(version "0.36.4")
(source
(origin
(method url-fetch)
(uri (crate-uri "object" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "02h7k38dwi8rndc3y81n6yjxijbss99p2jm9c0b6ak5c45c1lkq8"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-test-flags
'("--release" "--"
;; Not all files are included
"--skip=read::coff::coff_extended_relocations"
"--skip=read::elf::get_buildid_bad_elf"
"--skip=read::elf::get_buildid_less_bad_elf"
"--skip=read::macho::test_go_macho")
#:cargo-inputs
(("rust-compiler-builtins" ,rust-compiler-builtins-0.1)
("rust-crc32fast" ,rust-crc32fast-1)
("rust-flate2" ,rust-flate2-1)
("rust-hashbrown" ,rust-hashbrown-0.14)
("rust-indexmap" ,rust-indexmap-2)
("rust-memchr" ,rust-memchr-2)
("rust-rustc-std-workspace-alloc" ,rust-rustc-std-workspace-alloc-1)
("rust-rustc-std-workspace-core" ,rust-rustc-std-workspace-core-1)
("rust-ruzstd" ,rust-ruzstd-0.7)
("rust-wasmparser" ,rust-wasmparser-0.216))))
(home-page "https://github.com/gimli-rs/object")
(synopsis "Unified interface for reading and writing object file formats")
(description
"This package provides a unified interface for reading and writing object
file formats.")
(license (list license:asl2.0 license:expat))))
(define-public rust-object-0.32
(package
(inherit rust-object-0.36)
(name "rust-object")
(version "0.32.2")
(source
@ -49245,7 +49284,6 @@ (define-public rust-object-0.32
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0hc4cjwyngiy6k51hlzrlsxgv5z25vv7c2cp0ky1lckfic0259m6"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-test-flags
'("--release" "--"
@ -49261,13 +49299,7 @@ (define-public rust-object-0.32
("rust-rustc-std-workspace-alloc" ,rust-rustc-std-workspace-alloc-1)
("rust-rustc-std-workspace-core" ,rust-rustc-std-workspace-core-1)
("rust-ruzstd" ,rust-ruzstd-0.5)
("rust-wasmparser" ,rust-wasmparser-0.118))))
(home-page "https://github.com/gimli-rs/object")
(synopsis "Unified interface for reading and writing object file formats")
(description
"This package provides a unified interface for reading and writing object
file formats.")
(license (list license:asl2.0 license:expat))))
("rust-wasmparser" ,rust-wasmparser-0.118))))))
(define-public rust-object-0.30
(package