diff options
author | Steve George <steve@futurile.net> | 2023-11-09 19:38:05 +0000 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2023-11-28 07:59:45 +0200 |
commit | 4caea6d42e2116974841fb61e439d25205178955 (patch) | |
tree | c4d2bb3450be51ff9a305c432e741d738128fa58 | |
parent | 1d265260c5412d6abc783d52b23d5bdaca41c878 (diff) | |
download | guix-4caea6d42e2116974841fb61e439d25205178955.tar.gz guix-4caea6d42e2116974841fb61e439d25205178955.zip |
gnu: Add rust-gix-date-0.8.
* gnu/packages/crates-io.scm (rust-gix-date-0.8): New variable.
(rust-gix-date-0.5): Inherit from rust-gix-date-0.8.
Change-Id: I803ea0b97b0b278d6b74fe8b65a5e6404b900364
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
-rw-r--r-- | gnu/packages/crates-io.scm | 36 |
1 files changed, 28 insertions, 8 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 9419d0a00e..5e24701a21 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -30698,8 +30698,35 @@ value parsing.") credentials helpers.") (license (list license:expat license:asl2.0)))) +(define-public rust-gix-date-0.8 + (package + (name "rust-gix-date") + (version "0.8.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-date" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "038yapmv9mm7d2xclhg18iakpc4hd3vl4xkk09ydr0lmcdlzczgw")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-bstr" ,rust-bstr-1) + ("rust-document-features" ,rust-document-features-0.2) + ("rust-itoa" ,rust-itoa-1) + ("rust-serde" ,rust-serde-1) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-time" ,rust-time-0.3)) + #:cargo-development-inputs (("rust-once-cell" ,rust-once-cell-1)))) + (home-page "https://github.com/Byron/gitoxide") + (synopsis "Part of Gitoxide, this crate parses dates the way Git does") + (description + "Part of Gitoxide, this crate parses dates the way git does.") + (license (list license:expat license:asl2.0)))) + (define-public rust-gix-date-0.5 (package + (inherit rust-gix-date-0.8) (name "rust-gix-date") (version "0.5.1") (source @@ -30709,7 +30736,6 @@ credentials helpers.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "00jrc86398553z2mdljx9vh8skqgdydhsrr11ak3148fcx2l25mw")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-bstr" ,rust-bstr-1) @@ -30719,13 +30745,7 @@ credentials helpers.") ("rust-thiserror" ,rust-thiserror-1) ("rust-time" ,rust-time-0.3)) #:cargo-development-inputs - (("rust-once-cell" ,rust-once-cell-1)))) - (home-page "https://github.com/Byron/gitoxide") - (synopsis "Parse dates the way git does") - (description - "This package provides a crate of the gitoxide project parsing dates the -way git does.") - (license (list license:expat license:asl2.0)))) + (("rust-once-cell" ,rust-once-cell-1)))))) (define-public rust-gix-diff-0.30 (package |