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:36:29 +0200
committerEfraim Flashner <efraim@flashner.co.il>2024-02-20 13:58:06 +0200
commit3ac3673fb31f1d90040f4693db8a2b98b24de86d (patch)
treee0e8201a7832e6ee1291f9b3f1988e9daa815bd7 /gnu/packages/crates-vcs.scm
parent4dd77e373bc343a45155f6bbc4132c98f14201f1 (diff)
downloadguix-3ac3673fb31f1d90040f4693db8a2b98b24de86d.tar.gz
gnu: rust-git-version-0.3: Update to 0.3.9.
* gnu/packages/crates-vcs.scm (rust-git-version-0.3): Update to 0.3.9.
[arguments]: Don't skip the build.  Skip the tests.
[cargo-inputs]: Remove rust-proc-macro-hack-0.5.
[cargo-development-inputs]: Add rust-assert2-0.3, rust-tempfile-3.

Change-Id: I1a6fabc741096da4f4b5dae5e12dd9dea0e1f78c
Diffstat (limited to 'gnu/packages/crates-vcs.scm')
-rw-r--r--gnu/packages/crates-vcs.scm11
1 files changed, 6 insertions, 5 deletions
diff --git a/gnu/packages/crates-vcs.scm b/gnu/packages/crates-vcs.scm
index 7fa3747693..1cd935033d 100644
--- a/gnu/packages/crates-vcs.scm
+++ b/gnu/packages/crates-vcs.scm
@@ -119,20 +119,21 @@
 (define-public rust-git-version-0.3
   (package
     (name "rust-git-version")
-    (version "0.3.4")
+    (version "0.3.9")
     (source
      (origin
        (method url-fetch)
        (uri (crate-uri "git-version" version))
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32 "1qj1rd19v8vg094b3fj0gy6ca53v93lhrl31wg1fs7g0y61qx4cl"))))
+        (base32 "06ddi3px6l2ip0srn8512bsh8wrx4rzi65piya0vrz5h7nm6im8s"))))
     (build-system cargo-build-system)
     (arguments
-     `(#:skip-build? #t
+     `(#:tests? #f      ; not a git repository
        #:cargo-inputs
-       (("rust-git-version-macro" ,rust-git-version-macro-0.3)
-        ("rust-proc-macro-hack" ,rust-proc-macro-hack-0.5))))
+       (("rust-git-version-macro" ,rust-git-version-macro-0.3))
+       #:cargo-development-inputs (("rust-assert2" ,rust-assert2-0.3)
+                                   ("rust-tempfile" ,rust-tempfile-3))))
     (home-page "https://github.com/fusion-engineering/rust-git-version")
     (synopsis "Embed git information in your code at compile-time")
     (description