gnu: Add rust-object-0.30.

* gnu/packages/crates-io.scm (rust-object-0.30): New variable.
(rust-object-0.29): Inherit from rust-object-0.30.
This commit is contained in:
Efraim Flashner 2023-05-22 17:02:23 +03:00
parent 067cfeeeb4
commit 5b5dc462dd
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -41170,25 +41170,28 @@ (define-public rust-objc2-proc-macros-0.1
(description "This package provides procedural macros for the objc2 project.")
(license license:expat)))
(define-public rust-object-0.29
(define-public rust-object-0.30
(package
(name "rust-object")
(version "0.29.0")
(version "0.30.3")
(source (origin
(method url-fetch)
(uri (crate-uri "object" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
"0lzblxwxcih7j4z2cfx9094caax97hlfm9n0y5hlavda6cn8n591"))))
"0fdl7qjsz1j9kl3j7f4656fswzrqpyj2kgaizhknmjrx7mfjd1pa"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
`(#:cargo-test-flags
'("--release" "--"
;; Not all files are included
"--skip=read::coff::coff_extended_relocations")
#: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.12)
("rust-hashbrown" ,rust-hashbrown-0.13)
("rust-indexmap" ,rust-indexmap-1)
("rust-memchr" ,rust-memchr-2)
("rust-rustc-std-workspace-alloc" ,rust-rustc-std-workspace-alloc-1)
@ -41201,6 +41204,31 @@ (define-public rust-object-0.29
file formats.")
(license (list license:asl2.0 license:expat))))
(define-public rust-object-0.29
(package
(inherit rust-object-0.30)
(name "rust-object")
(version "0.29.0")
(source (origin
(method url-fetch)
(uri (crate-uri "object" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
"0lzblxwxcih7j4z2cfx9094caax97hlfm9n0y5hlavda6cn8n591"))))
(arguments
`(#:skip-build? #t
#: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.12)
("rust-indexmap" ,rust-indexmap-1)
("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-wasmparser" ,rust-wasmparser-0.57))))))
(define-public rust-object-0.28
(package
(inherit rust-object-0.29)