diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2024-01-22 10:34:02 +0200 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2024-02-20 13:58:06 +0200 |
commit | c36d8015f856516455e7fb7f5ac03a7f17a73db0 (patch) | |
tree | 54b7ab4cc40c79da1eee401789edfee265333945 /gnu/packages/crates-vcs.scm | |
parent | f4a8c2d6750d6f363d7adaa20bf89a312c1ab1ca (diff) | |
download | guix-c36d8015f856516455e7fb7f5ac03a7f17a73db0.tar.gz guix-c36d8015f856516455e7fb7f5ac03a7f17a73db0.zip |
gnu: Add rust-git-testament-derive-0.2.
* gnu/packages/crates-vcs.scm (rust-git-testament-derive-0.2): New
variable.
(rust-git-testament-derive-0.1): Inherit from
rust-git-testament-derive-0.2.
Change-Id: I2245436e1f0af073cfe7bb52b7c9db015a8d595a
Diffstat (limited to 'gnu/packages/crates-vcs.scm')
-rw-r--r-- | gnu/packages/crates-vcs.scm | 34 |
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 |