summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2023-12-27 11:39:26 +0200
committerEfraim Flashner <efraim@flashner.co.il>2024-02-20 13:56:54 +0200
commit56cb224631b6079f3be9102e6d9422d5b0c7a5f3 (patch)
tree6837e9f3ceada6d85043e6212a7bbfbb3fe577ed
parentfaf51ba4a35ed7c5f4df21bec77ac1971feab9e9 (diff)
gnu: rust-git-version-0.3: Move to (gnu packages crates-vcs).
* gnu/packages/crates-io.scm (rust-git-version-0.3): Move from here ... * gnu/packages/crates-vcs.scm: ... to here. Change-Id: I41a2d385c63bbbf0dd83f11d676f28ba95c59e9b
-rw-r--r--gnu/packages/crates-io.scm24
-rw-r--r--gnu/packages/crates-vcs.scm24
2 files changed, 24 insertions, 24 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index fc2817c70c..02723feadb 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -30290,30 +30290,6 @@ debugging format.")
("rust-test-assembler" ,rust-test-assembler-0.1)
("rust-typed-arena" ,rust-typed-arena-2))))))
-(define-public rust-git-version-0.3
- (package
- (name "rust-git-version")
- (version "0.3.4")
- (source
- (origin
- (method url-fetch)
- (uri (crate-uri "git-version" version))
- (file-name (string-append name "-" version ".tar.gz"))
- (sha256
- (base32 "1qj1rd19v8vg094b3fj0gy6ca53v93lhrl31wg1fs7g0y61qx4cl"))))
- (build-system cargo-build-system)
- (arguments
- `(#:skip-build? #t
- #:cargo-inputs
- (("rust-git-version-macro" ,rust-git-version-macro-0.3)
- ("rust-proc-macro-hack" ,rust-proc-macro-hack-0.5))))
- (home-page "https://github.com/fusion-engineering/rust-git-version")
- (synopsis "Embed git information in your code at compile-time")
- (description
- "This crates compiles the git version (tag name, or hash otherwise) and
-dirty state into your program.")
- (license license:bsd-2)))
-
(define-public rust-git2-0.18
(package
(name "rust-git2")
diff --git a/gnu/packages/crates-vcs.scm b/gnu/packages/crates-vcs.scm
index e3845aa8c2..59854e5c85 100644
--- a/gnu/packages/crates-vcs.scm
+++ b/gnu/packages/crates-vcs.scm
@@ -80,6 +80,30 @@
"This package provides an inner procedural macro for git-testament.")
(license license:bsd-3)))
+(define-public rust-git-version-0.3
+ (package
+ (name "rust-git-version")
+ (version "0.3.4")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "git-version" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1qj1rd19v8vg094b3fj0gy6ca53v93lhrl31wg1fs7g0y61qx4cl"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-git-version-macro" ,rust-git-version-macro-0.3)
+ ("rust-proc-macro-hack" ,rust-proc-macro-hack-0.5))))
+ (home-page "https://github.com/fusion-engineering/rust-git-version")
+ (synopsis "Embed git information in your code at compile-time")
+ (description
+ "This crates compiles the git version (tag name, or hash otherwise) and
+dirty state into your program.")
+ (license license:bsd-2)))
+
(define-public rust-git-version-macro-0.3
(package
(name "rust-git-version-macro")