gnu: Add rust-adler-1.
* gnu/packages/crates-io.scm (rust-adler-1): New variable. (rust-adler-0.2): Add development-inputs. Signed-off-by: Marius Bakke <marius@gnu.org>
parent
540b74847d
commit
a058975229
|
@ -1815,23 +1815,24 @@ Rust, using gimli.")
|
||||||
("rust-memmap" ,rust-memmap-0.7)
|
("rust-memmap" ,rust-memmap-0.7)
|
||||||
("rust-rustc-test" ,rust-rustc-test-0.3))))))
|
("rust-rustc-test" ,rust-rustc-test-0.3))))))
|
||||||
|
|
||||||
(define-public rust-adler-0.2
|
(define-public rust-adler-1
|
||||||
(package
|
(package
|
||||||
(name "rust-adler")
|
(name "rust-adler")
|
||||||
(version "0.2.3")
|
(version "1.0.2")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (crate-uri "adler" version))
|
(uri (crate-uri "adler" version))
|
||||||
(file-name (string-append name "-" version ".tar.gz"))
|
(file-name (string-append name "-" version ".tar.gz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "0zpdsrfq5bd34941gmrlamnzjfbsx0x586afb7b0jqhr8g1lwapf"))))
|
(base32 "1zim79cvzd5yrkzl3nyfx0avijwgk9fqv3yrscdy1cc79ih02qpj"))))
|
||||||
(build-system cargo-build-system)
|
(build-system cargo-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:skip-build? #t
|
`(#:cargo-inputs
|
||||||
#:cargo-inputs
|
|
||||||
(("rust-compiler-builtins" ,rust-compiler-builtins-0.1)
|
(("rust-compiler-builtins" ,rust-compiler-builtins-0.1)
|
||||||
("rust-rustc-std-workspace-core" ,rust-rustc-std-workspace-core-1))))
|
("rust-rustc-std-workspace-core" ,rust-rustc-std-workspace-core-1))
|
||||||
|
#:cargo-development-inputs
|
||||||
|
(("rust-criterion" ,rust-criterion-0.3))))
|
||||||
(home-page "https://github.com/jonas-schievink/adler")
|
(home-page "https://github.com/jonas-schievink/adler")
|
||||||
(synopsis "Implementation of the Adler-32 checksum")
|
(synopsis "Implementation of the Adler-32 checksum")
|
||||||
(description
|
(description
|
||||||
|
@ -1842,6 +1843,20 @@ checksum, used in the zlib compression format.")
|
||||||
license:asl2.0
|
license:asl2.0
|
||||||
(license:non-copyleft "https://spdx.org/licenses/0BSD.html")))))
|
(license:non-copyleft "https://spdx.org/licenses/0BSD.html")))))
|
||||||
|
|
||||||
|
(define-public rust-adler-0.2
|
||||||
|
(package
|
||||||
|
(inherit rust-adler-1)
|
||||||
|
(name "rust-adler")
|
||||||
|
(version "0.2.3")
|
||||||
|
(source
|
||||||
|
(origin
|
||||||
|
(method url-fetch)
|
||||||
|
(uri (crate-uri "adler" version))
|
||||||
|
(file-name (string-append name "-" version ".tar.gz"))
|
||||||
|
(sha256
|
||||||
|
(base32 "0zpdsrfq5bd34941gmrlamnzjfbsx0x586afb7b0jqhr8g1lwapf"))))
|
||||||
|
(build-system cargo-build-system)))
|
||||||
|
|
||||||
(define-public rust-adler32-1
|
(define-public rust-adler32-1
|
||||||
(package
|
(package
|
||||||
(name "rust-adler32")
|
(name "rust-adler32")
|
||||||
|
|
Reference in New Issue