diff options
-rw-r--r-- | gnu/packages/crates-io.scm | 42 |
1 files changed, 33 insertions, 9 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 27eafe8589..0decf4dbad 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -68659,8 +68659,40 @@ numbers, and test them against various comparison operators.") (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 @@ numbers, and test them against various comparison operators.") (sha256 (base32 "01pq0ia7ak7d69c3chjgdmaaq271yrspgbzmk6wmrwb74hx3skw4")))) - (build-system cargo-build-system) (arguments `(#:skip-build? #t #:cargo-inputs @@ -68683,14 +68714,7 @@ numbers, and test them against various comparison operators.") ("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 |