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
This commit is contained in:
Efraim Flashner 2024-01-22 10:36:29 +02:00
parent 4dd77e373b
commit 3ac3673fb3
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -119,20 +119,21 @@
(define-public rust-git-version-0.3 (define-public rust-git-version-0.3
(package (package
(name "rust-git-version") (name "rust-git-version")
(version "0.3.4") (version "0.3.9")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (crate-uri "git-version" version)) (uri (crate-uri "git-version" version))
(file-name (string-append name "-" version ".tar.gz")) (file-name (string-append name "-" version ".tar.gz"))
(sha256 (sha256
(base32 "1qj1rd19v8vg094b3fj0gy6ca53v93lhrl31wg1fs7g0y61qx4cl")))) (base32 "06ddi3px6l2ip0srn8512bsh8wrx4rzi65piya0vrz5h7nm6im8s"))))
(build-system cargo-build-system) (build-system cargo-build-system)
(arguments (arguments
`(#:skip-build? #t `(#:tests? #f ; not a git repository
#:cargo-inputs #:cargo-inputs
(("rust-git-version-macro" ,rust-git-version-macro-0.3) (("rust-git-version-macro" ,rust-git-version-macro-0.3))
("rust-proc-macro-hack" ,rust-proc-macro-hack-0.5)))) #:cargo-development-inputs (("rust-assert2" ,rust-assert2-0.3)
("rust-tempfile" ,rust-tempfile-3))))
(home-page "https://github.com/fusion-engineering/rust-git-version") (home-page "https://github.com/fusion-engineering/rust-git-version")
(synopsis "Embed git information in your code at compile-time") (synopsis "Embed git information in your code at compile-time")
(description (description