gnu: Add rust-gix-negotiate-0.9.

* gnu/packages/crates-vcs.scm (rust-gix-negotiate-0.9): New variable.
(rust-gix-negotiate-0.8): Inherit from rust-gix-negotiate-0.9.

Change-Id: I0fe8515a411c44d30240a6b61e63c581459de586
This commit is contained in:
Efraim Flashner 2024-01-03 10:04:15 +02:00
parent af8a0361a9
commit 762a3a9b3b
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -2084,8 +2084,38 @@ (define-public rust-gix-mailmap-0.13
("rust-serde" ,rust-serde-1)
("rust-thiserror" ,rust-thiserror-1))))))
(define-public rust-gix-negotiate-0.9
(package
(name "rust-gix-negotiate")
(version "0.9.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "gix-negotiate" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0zxnxfjjqxap8plkhz5f4h0gwm83ain229y2vhwwxjgcj7sdqp1a"))))
(build-system cargo-build-system)
(arguments
`(#:tests? #f ; user of undeclared crate gix_testtools
#:cargo-inputs (("rust-bitflags" ,rust-bitflags-2)
("rust-gix-commitgraph" ,rust-gix-commitgraph-0.22)
("rust-gix-date" ,rust-gix-date-0.8)
("rust-gix-hash" ,rust-gix-hash-0.13)
("rust-gix-object" ,rust-gix-object-0.38)
("rust-gix-revwalk" ,rust-gix-revwalk-0.9)
("rust-smallvec" ,rust-smallvec-1)
("rust-thiserror" ,rust-thiserror-1))))
(home-page "https://github.com/Byron/gitoxide")
(synopsis "Implements Git's negotiation algorithms as part of Gixoxide")
(description
"Gitoxide is a pure Rust implementation of Git. This package consists of
Git's negotiation algorithms.")
(license (list license:expat license:asl2.0))))
(define-public rust-gix-negotiate-0.8
(package
(inherit rust-gix-negotiate-0.9)
(name "rust-gix-negotiate")
(version "0.8.0")
(source
@ -2095,7 +2125,6 @@ (define-public rust-gix-negotiate-0.8
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "01408hs82nhj40arkdx145cfmdccf7pydf89sywd3ihik6zrf5kg"))))
(build-system cargo-build-system)
(arguments
`(#:tests? #f ; user of undeclared crate gix_testtools
#:cargo-inputs (("rust-bitflags" ,rust-bitflags-2)
@ -2105,13 +2134,7 @@ (define-public rust-gix-negotiate-0.8
("rust-gix-object" ,rust-gix-object-0.37)
("rust-gix-revwalk" ,rust-gix-revwalk-0.8)
("rust-smallvec" ,rust-smallvec-1)
("rust-thiserror" ,rust-thiserror-1))))
(home-page "https://github.com/Byron/gitoxide")
(synopsis "Implements Git's negotiation algorithms as part of Gixoxide")
(description
"Gitoxide is a pure Rust implementation of Git. This package consists of
Git's negotiation algorithms.")
(license (list license:expat license:asl2.0))))
("rust-thiserror" ,rust-thiserror-1))))))
(define-public rust-gix-negotiate-0.2
(package