gnu: Add rust-vec1-1.

* gnu/packages/crates-io.scm (rust-vec1-1): New variable.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
This commit is contained in:
Petr Hodina 2022-02-05 13:03:14 +01:00 committed by Nicolas Goaziou
parent 0f8a4189b8
commit d2c6518c1d
No known key found for this signature in database
GPG key ID: DA00B4F048E92F2D

View file

@ -67843,6 +67843,30 @@ (define-public rust-vec-map-0.8
(license (list license:asl2.0 (license (list license:asl2.0
license:expat)))) license:expat))))
(define-public rust-vec1-1
(package
(name "rust-vec1")
(version "1.8.0")
(source (origin
(method url-fetch)
(uri (crate-uri "vec1" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
"0cv1b88k9fac0wlg3yzbkrwdxvyb8w9f14big5q9a3sgfwf67haz"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
(("rust-serde" ,rust-serde-1)
("rust-smallvec" ,rust-smallvec-1))))
(home-page "https://github.com/rustonaut/vec1/")
(synopsis "Vec wrapper assuring that it has at least 1 element")
(description
"This package provides wrapper for a std::Vec assuring that it
has at least 1 element.")
(license (list license:expat license:asl2.0))))
(define-public rust-vecmath-1 (define-public rust-vecmath-1
(package (package
(name "rust-vecmath") (name "rust-vecmath")