gnu: Add rust-version-sync-0.9.

* gnu/packages/crates-io.scm (rust-version-sync-0.9): New variable.
(rust-version-sync-0.8): Inherit from rust-version-sync-0.9.
This commit is contained in:
Efraim Flashner 2022-04-03 10:34:24 +03:00
parent cf9a58bd18
commit fe98984880
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -68659,8 +68659,40 @@ (define-public rust-version-compare-0.0.11
(define-public rust-version-compare-0.0 rust-version-compare-0.0.11)
(define-public rust-version-sync-0.9
(package
(name "rust-version-sync")
(version "0.9.4")
(source
(origin
(method url-fetch)
(uri (crate-uri "version-sync" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1w0v20p6k13yhfmgmcwhgy3371znyqcn83lhrf47swq7xhf81l4r"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-proc-macro2" ,rust-proc-macro2-1)
("rust-pulldown-cmark" ,rust-pulldown-cmark-0.8)
("rust-regex" ,rust-regex-1)
("rust-semver" ,rust-semver-1)
("rust-syn" ,rust-syn-1)
("rust-toml" ,rust-toml-0.5)
("rust-url" ,rust-url-2))
#:cargo-development-inputs
(("rust-tempfile" ,rust-tempfile-3))))
(home-page "https://github.com/mgeisler/version-sync")
(synopsis
"Ensure that version numbers are updated when the crate version changes")
(description
"Simple crate for ensuring that version numbers in README files are
updated when the crate version changes.")
(license license:expat)))
(define-public rust-version-sync-0.8
(package
(inherit rust-version-sync-0.9)
(name "rust-version-sync")
(version "0.8.1")
(source
@ -68672,7 +68704,6 @@ (define-public rust-version-sync-0.8
(sha256
(base32
"01pq0ia7ak7d69c3chjgdmaaq271yrspgbzmk6wmrwb74hx3skw4"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
@ -68683,14 +68714,7 @@ (define-public rust-version-sync-0.8
("rust-semver-parser" ,rust-semver-parser-0.9)
("rust-syn" ,rust-syn-0.15)
("rust-toml" ,rust-toml-0.5)
("rust-url" ,rust-url-1))))
(home-page "https://github.com/mgeisler/version-sync")
(synopsis
"Ensure that version numbers are updated when the crate version changes")
(description
"Simple crate for ensuring that version numbers in README files are
updated when the crate version changes.")
(license license:expat)))
("rust-url" ,rust-url-1))))))
(define-public rust-version-sync-0.6
(package