gnu: Add rust-semver-0.9.

* gnu/packages/crates-io.scm (rust-semver-0.9): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
This commit is contained in:
John Soo 2019-12-14 14:09:35 -08:00 committed by Efraim Flashner
parent c74508b67c
commit c3344a3334
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -4553,6 +4553,37 @@ (define-public rust-security-framework-sys-0.3
(license (list license:asl2.0
license:expat))))
(define-public rust-semver-0.9
(package
(name "rust-semver")
(version "0.9.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "semver" version))
(file-name
(string-append name "-" version ".tar.gz"))
(sha256
(base32
"00q4lkcj0rrgbhviv9sd4p6qmdsipkwkbra7rh11jrhq5kpvjzhx"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
(("rust-semver-parser" ,rust-semver-parser-0.7)
("rust-serde" ,rust-serde-1.0))
#:cargo-development-inputs
(("rust-crates-index" ,rust-crates-index-0.13)
("rust-serde-derive" ,rust-serde-derive-1.0)
("rust-serde-json" ,rust-serde-json-1.0)
("rust-tempdir" ,rust-tempdir-0.3))))
(home-page "https://docs.rs/crate/semver")
(synopsis
"Semantic version parsing and comparison")
(description
"Semantic version parsing and comparison.")
(license (list license:expat license:asl2.0))))
(define-public rust-semver-parser-0.9
(package
(name "rust-semver-parser")