summary refs log tree commit diff
path: root/gnu/packages/crates-vcs.scm
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2024-01-22 10:35:29 +0200
committerEfraim Flashner <efraim@flashner.co.il>2024-02-20 13:58:06 +0200
commit4dd77e373bc343a45155f6bbc4132c98f14201f1 (patch)
treed2d77203ae5b34ff20c371261237394e295c3827 /gnu/packages/crates-vcs.scm
parent927e5e82cc37b149983f3f8ef5c5ce50ba0746e8 (diff)
downloadguix-4dd77e373bc343a45155f6bbc4132c98f14201f1.tar.gz
gnu: rust-git-version-macro-0.3: Update to 0.3.9.
* gnu/packages/crates-vcs.scm (rust-git-version-macro-0.3): Update to
0.3.9.
[arguments]: Don't skip the build.  Skip the tests.
[cargo-inputs]: Replace rust-syn-1 with 2.  Remove
rust-proc-macro-hack-0.5.
[cargo-development-inputs]: Add rust-assert2-0.3.

Change-Id: I41f27336ad0f97abea61d9d62fca55d59162f795
Diffstat (limited to 'gnu/packages/crates-vcs.scm')
-rw-r--r--gnu/packages/crates-vcs.scm12
1 files changed, 6 insertions, 6 deletions
diff --git a/gnu/packages/crates-vcs.scm b/gnu/packages/crates-vcs.scm
index 1d2f348c84..7fa3747693 100644
--- a/gnu/packages/crates-vcs.scm
+++ b/gnu/packages/crates-vcs.scm
@@ -143,22 +143,22 @@ dirty state into your program.")
 (define-public rust-git-version-macro-0.3
   (package
     (name "rust-git-version-macro")
-    (version "0.3.4")
+    (version "0.3.9")
     (source
      (origin
        (method url-fetch)
        (uri (crate-uri "git-version-macro" version))
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32 "0mynlf8sfaa4xx7qff0qgnr339fbf1svgr569yip067fzm97ma9l"))))
+        (base32 "1h1s08fgh9bkwnc2hmjxcldv69hlxpq7a09cqdxsd5hb235hq0ak"))))
     (build-system cargo-build-system)
     (arguments
-     `(#:skip-build? #t
+     `(#:tests? #f        ; not a git repository
        #:cargo-inputs
-       (("rust-proc-macro-hack" ,rust-proc-macro-hack-0.5)
-        ("rust-proc-macro2" ,rust-proc-macro2-1)
+       (("rust-proc-macro2" ,rust-proc-macro2-1)
         ("rust-quote" ,rust-quote-1)
-        ("rust-syn" ,rust-syn-1))))
+        ("rust-syn" ,rust-syn-2))
+       #:cargo-development-inputs (("rust-assert2" ,rust-assert2-0.3))))
     (home-page "https://github.com/fusion-engineering/rust-git-version")
     (synopsis "Internal macro crate for git-version")
     (description