gnu: rust-uuid: Add 1.2.2.

* gnu/packages/crates-io.scm (rust-uuid-1): New variable.
(rust-uuid-0.8): Inherit from it.
This commit is contained in:
Marius Bakke 2022-12-02 21:21:18 +01:00 committed by Maxim Cournoyer
parent f624eb0300
commit 5228d02c80
No known key found for this signature in database
GPG key ID: 1260E46482E63562

View file

@ -65404,8 +65404,47 @@ (define-public rust-utf8parse-0.1
(base32
"0zamsj2986shm4x9zncjf2m5qy9scaw7qnxw4f89b2afpg6a8wl7"))))))
(define-public rust-uuid-1
(package
(name "rust-uuid")
(version "1.2.2")
(source (origin
(method url-fetch)
(uri (crate-uri "uuid" version))
(file-name
(string-append name "-" version ".tar.gz"))
(sha256
(base32
"0k6fchay62ryjhkxsbbj38030lm3797c13vsp54bkd9ij3gf0bj2"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-development-inputs
(("rust-bincode" ,rust-bincode-1)
("rust-trybuild" ,rust-trybuild-1)
("rust-wasm-bindgen-test" ,rust-wasm-bindgen-test-0.3)
("rust-windows-sys" ,rust-windows-sys-0.42))
#:cargo-inputs
(("rust-arbitrary" ,rust-arbitrary-1)
("rust-atomic" ,rust-atomic-0.5)
("rust-getrandom" ,rust-getrandom-0.2)
("rust-md-5" ,rust-md-5-0.10)
("rust-rand" ,rust-rand-0.8)
("rust-serde" ,rust-serde-1)
("rust-sha1-smol" ,rust-sha1-smol-1)
("rust-slog" ,rust-slog-2)
("rust-uuid-macro-internal" ,rust-uuid-macro-internal-1)
("rust-wasm-bindgen" ,rust-wasm-bindgen-0.2)
("rust-zerocopy" ,rust-zerocopy-0.6))))
(home-page "https://github.com/uuid-rs/uuid")
(synopsis "Library to generate and parse UUIDs")
(description
"This package provides a library to generate and parse UUIDs.")
;; The user can choose either license.
(license (list license:asl2.0 license:expat))))
(define-public rust-uuid-0.8
(package
(inherit rust-uuid-1)
(name "rust-uuid")
(version "0.8.2")
(source
@ -65417,7 +65456,6 @@ (define-public rust-uuid-0.8
(sha256
(base32
"1dy4ldcp7rnzjy56dxh7d2sgrcvn4q77y0a8r0a48946h66zjp5w"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
@ -65426,12 +65464,7 @@ (define-public rust-uuid-0.8
("rust-serde" ,rust-serde-1)
("rust-sha1" ,rust-sha1-0.6)
("rust-slog" ,rust-slog-2)
("rust-winapi" ,rust-winapi-0.3))))
(home-page "https://github.com/uuid-rs/uuid")
(synopsis "Library to generate and parse UUIDs")
(description
"This package provides a library to generate and parse UUIDs.")
(license (list license:asl2.0 license:expat))))
("rust-winapi" ,rust-winapi-0.3))))))
(define-public rust-uuid-0.7
(package