summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2022-04-03 10:34:24 +0300
committerEfraim Flashner <efraim@flashner.co.il>2022-04-03 14:07:45 +0300
commitfe989848805bdffd72adcbe0d6d5258f08b13696 (patch)
tree4d4c985e2064706af30ef4eb06490313d97afff6 /gnu
parentcf9a58bd189cc4477475d8c64482bfad18d81c95 (diff)
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.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-io.scm42
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