gnu: Add rust-hash32-0.3.

* gnu/packages/crates-io.scm (rust-hash32-0.3): New variable.
(rust-hash32-0.2): Inherit from rust-hash32-0.3.

Change-Id: I07f397faeff99bba55395bc988f6b1b4d4ba5c86
This commit is contained in:
Efraim Flashner 2024-03-31 14:13:13 +03:00
parent 5f96351f1b
commit ff5d72dd68
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -30372,8 +30372,28 @@ (define-public rust-hash-hasher-2
already-hashed or hash-like data.")
(license (list license:asl2.0 license:expat))))
(define-public rust-hash32-0.3
(package
(name "rust-hash32")
(version "0.3.1")
(source
(origin
(method url-fetch)
(uri (crate-uri "hash32" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "01h68z8qi5gl9lnr17nz10lay8wjiidyjdyd60kqx8ibj090pmj7"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs (("rust-byteorder" ,rust-byteorder-1))))
(home-page "https://github.com/japaric/hash32")
(synopsis "32-bit hashing machinery")
(description "This package provides 32-bit hashing machinery.")
(license (list license:expat license:asl2.0))))
(define-public rust-hash32-0.2
(package
(inherit rust-hash32-0.3)
(name "rust-hash32")
(version "0.2.1")
(source
@ -30383,15 +30403,9 @@ (define-public rust-hash32-0.2
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0rrbv5pc5b1vax6j6hk7zvlrpw0h6aybshxy9vbpgsrgfrc5zhxh"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
(("rust-byteorder" ,rust-byteorder-1))))
(home-page "https://github.com/japaric/hash32")
(synopsis "32-bit hashing machinery")
(description "This package provides 32-bit hashing machinery.")
(license (list license:expat license:asl2.0))))
#:cargo-inputs (("rust-byteorder" ,rust-byteorder-1))))))
(define-public rust-hash32-0.1
(package