From ae1777ef5db3a28dd1c2d9cda07511182f553469 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Wed, 3 Jan 2024 09:55:42 +0200 Subject: [PATCH] gnu: Add rust-gix-credentials-0.21. * gnu/packages/crates-vcs.scm (rust-gix-credentials-0.21): New variable. (rust-gix-credentials-0.20): Inherit from rust-gix-credentials-0.21. Change-Id: I9a04b0ea9292378ef7b2cc55f83d45d592d611e7 --- gnu/packages/crates-vcs.scm | 41 +++++++++++++++++++++++++++++-------- 1 file changed, 33 insertions(+), 8 deletions(-) diff --git a/gnu/packages/crates-vcs.scm b/gnu/packages/crates-vcs.scm index e1335c2963..df54dcc302 100644 --- a/gnu/packages/crates-vcs.scm +++ b/gnu/packages/crates-vcs.scm @@ -1146,8 +1146,40 @@ (define-public rust-gix-config-value-0.12 ("rust-serde" ,rust-serde-1) ("rust-thiserror" ,rust-thiserror-1)))))) +(define-public rust-gix-credentials-0.21 + (package + (name "rust-gix-credentials") + (version "0.21.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-credentials" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1956pmz4sj25kydwh4ardzv9zbdpqrx050g5c4c2m14v0rs5sp0w")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; use of undeclared crate or module `gix_testtools` + #:cargo-inputs (("rust-bstr" ,rust-bstr-1) + ("rust-document-features" ,rust-document-features-0.2) + ("rust-gix-command" ,rust-gix-command-0.2) + ("rust-gix-config-value" ,rust-gix-config-value-0.14) + ("rust-gix-path" ,rust-gix-path-0.10) + ("rust-gix-prompt" ,rust-gix-prompt-0.7) + ("rust-gix-sec" ,rust-gix-sec-0.10) + ("rust-gix-url" ,rust-gix-url-0.25) + ("rust-serde" ,rust-serde-1) + ("rust-thiserror" ,rust-thiserror-1)))) + (home-page "https://github.com/Byron/gitoxide") + (synopsis "Git credentials handlers for Gitoxide") + (description + "Gitoxide is a Rust implementation of Git. This package provides helpers +to interact with Git credentials.") + (license (list license:expat license:asl2.0)))) + (define-public rust-gix-credentials-0.20 (package + (inherit rust-gix-credentials-0.21) (name "rust-gix-credentials") (version "0.20.0") (source @@ -1157,7 +1189,6 @@ (define-public rust-gix-credentials-0.20 (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "12mwq0fah6wai26lnq9k3m71lr8cgih43rqy2in6mby59j40p426")))) - (build-system cargo-build-system) (arguments `(#:tests? #f ;wants undeclared crate gix_testtools #:cargo-inputs (("rust-bstr" ,rust-bstr-1) @@ -1169,13 +1200,7 @@ (define-public rust-gix-credentials-0.20 ("rust-gix-sec" ,rust-gix-sec-0.10) ("rust-gix-url" ,rust-gix-url-0.24) ("rust-serde" ,rust-serde-1) - ("rust-thiserror" ,rust-thiserror-1)))) - (home-page "https://github.com/Byron/gitoxide") - (synopsis "Git credentials handlers for Gitoxide") - (description - "Gitoxide is a Rust implementation of Git. This package provides helpers -to interact with Git credentials.") - (license (list license:expat license:asl2.0)))) + ("rust-thiserror" ,rust-thiserror-1)))))) (define-public rust-gix-credentials-0.15 (package