aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-vcs.scm34
1 files changed, 27 insertions, 7 deletions
diff --git a/gnu/packages/crates-vcs.scm b/gnu/packages/crates-vcs.scm
index 9c002fd261..a2431b9c41 100644
--- a/gnu/packages/crates-vcs.scm
+++ b/gnu/packages/crates-vcs.scm
@@ -70,8 +70,34 @@
(description "Record git working tree status when compiling your crate")
(license license:bsd-3)))
+(define-public rust-git-testament-derive-0.2
+ (package
+ (name "rust-git-testament-derive")
+ (version "0.2.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "git-testament-derive" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0hk8r71jjr1adxz1gpxl3i1xrj4j3g15jdwlyqq6f6myzd74jccv"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-log" ,rust-log-0.4)
+ ("rust-proc-macro2" ,rust-proc-macro2-1)
+ ("rust-quote" ,rust-quote-1)
+ ("rust-syn" ,rust-syn-2)
+ ("rust-time" ,rust-time-0.3))
+ #:cargo-development-inputs (("rust-git-testament" ,rust-git-testament-0.2))))
+ (home-page "https://github.com/kinnison/git-testament/")
+ (synopsis "Record git working tree status when compiling your crate")
+ (description
+ "This package provides an inner procedural macro for git-testament.")
+ (license license:bsd-3)))
+
(define-public rust-git-testament-derive-0.1
(package
+ (inherit rust-git-testament-derive-0.2)
(name "rust-git-testament-derive")
(version "0.1.14")
(source (origin
@@ -81,7 +107,6 @@
(sha256
(base32
"1rlais0i47mgsmp3r5jcqry2agjfyg5s9paj6mgvfykchssjsy2a"))))
- (build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-log" ,rust-log-0.4)
@@ -90,12 +115,7 @@
("rust-syn" ,rust-syn-1)
("rust-time" ,rust-time-0.3))
#:cargo-development-inputs
- (("rust-git-testament" ,rust-git-testament-0.2))))
- (home-page "https://github.com/kinnison/git-testament/")
- (synopsis "Record git working tree status when compiling your crate")
- (description
- "This package provides an inner procedural macro for git-testament.")
- (license license:bsd-3)))
+ (("rust-git-testament" ,rust-git-testament-0.2))))))
(define-public rust-git-version-0.3
(package