guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#52149] [PATCH 09/26] gnu: Add rust-version-sync-0.9.


From: (unmatched-parenthesis
Subject: [bug#52149] [PATCH 09/26] gnu: Add rust-version-sync-0.9.
Date: Mon, 27 Dec 2021 16:50:46 +0000

* gnu/packages/crates-io.scm (rust-version-sync-0.9): New variable.
* gnu/packages/crates-io.scm (rust-version-sync-0.8): Inherit from 
rust-version-sync-0.9.
---
 gnu/packages/crates-io.scm | 55 +++++++++++++++++++++++++++-----------
 1 file changed, 40 insertions(+), 15 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index b86e3107da..c91e741d85 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -60351,31 +60351,30 @@ (define-public rust-version-compare-0.0
 numbers, and test them against various comparison operators.")
     (license license:expat)))
 
-(define-public rust-version-sync-0.8
+(define-public rust-version-sync-0.9
   (package
     (name "rust-version-sync")
-    (version "0.8.1")
+    (version "0.9.3")
     (source
-      (origin
-        (method url-fetch)
-        (uri (crate-uri "version-sync" version))
-        (file-name
-         (string-append name "-" version ".tar.gz"))
-        (sha256
-         (base32
-          "01pq0ia7ak7d69c3chjgdmaaq271yrspgbzmk6wmrwb74hx3skw4"))))
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "version-sync" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0kaqwjr7jlq3afh28jn052vm15z58h8szvbggwdavdng0wzy98x7"))))
     (build-system cargo-build-system)
     (arguments
      `(#:skip-build? #t
        #:cargo-inputs
-       (("rust-itertools" ,rust-itertools-0.8)
-        ("rust-proc-macro2" ,rust-proc-macro2-0.4)
-        ("rust-pulldown-cmark" ,rust-pulldown-cmark-0.4)
+       (("rust-proc-macro2" ,rust-proc-macro2-1)
+        ("rust-pullmark-cmark" ,rust-pulldown-cmark-0.8)
         ("rust-regex" ,rust-regex-1)
         ("rust-semver-parser" ,rust-semver-parser-0.9)
-        ("rust-syn" ,rust-syn-0.15)
+        ("rust-syn" ,rust-syn-1)
         ("rust-toml" ,rust-toml-0.5)
-        ("rust-url" ,rust-url-1))))
+        ("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")
@@ -60384,6 +60383,32 @@ (define-public rust-version-sync-0.8
 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
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "version-sync" version))
+       (file-name
+        (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "01pq0ia7ak7d69c3chjgdmaaq271yrspgbzmk6wmrwb74hx3skw4"))))
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs
+       (("rust-itertools" ,rust-itertools-0.8)
+        ("rust-proc-macro2" ,rust-proc-macro2-0.4)
+        ("rust-pulldown-cmark" ,rust-pulldown-cmark-0.4)
+        ("rust-regex" ,rust-regex-1)
+        ("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))))))
+
 (define-public rust-version-sync-0.6
   (package
     (inherit rust-version-sync-0.8)
-- 
2.34.0






reply via email to

[Prev in Thread] Current Thread [Next in Thread]