me
/
guix
Archived
1
0
Fork 0

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.
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
1 changed files with 33 additions and 5 deletions

View File

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