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
This commit is contained in:
Efraim Flashner 2024-01-03 09:55:42 +02:00
parent 4fad6dea04
commit ae1777ef5d
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -1146,8 +1146,40 @@ (define-public rust-gix-config-value-0.12
("rust-serde" ,rust-serde-1) ("rust-serde" ,rust-serde-1)
("rust-thiserror" ,rust-thiserror-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 (define-public rust-gix-credentials-0.20
(package (package
(inherit rust-gix-credentials-0.21)
(name "rust-gix-credentials") (name "rust-gix-credentials")
(version "0.20.0") (version "0.20.0")
(source (source
@ -1157,7 +1189,6 @@ (define-public rust-gix-credentials-0.20
(file-name (string-append name "-" version ".tar.gz")) (file-name (string-append name "-" version ".tar.gz"))
(sha256 (sha256
(base32 "12mwq0fah6wai26lnq9k3m71lr8cgih43rqy2in6mby59j40p426")))) (base32 "12mwq0fah6wai26lnq9k3m71lr8cgih43rqy2in6mby59j40p426"))))
(build-system cargo-build-system)
(arguments (arguments
`(#:tests? #f ;wants undeclared crate gix_testtools `(#:tests? #f ;wants undeclared crate gix_testtools
#:cargo-inputs (("rust-bstr" ,rust-bstr-1) #: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-sec" ,rust-gix-sec-0.10)
("rust-gix-url" ,rust-gix-url-0.24) ("rust-gix-url" ,rust-gix-url-0.24)
("rust-serde" ,rust-serde-1) ("rust-serde" ,rust-serde-1)
("rust-thiserror" ,rust-thiserror-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.15 (define-public rust-gix-credentials-0.15
(package (package