aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/crates-vcs.scm
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2024-11-20 20:47:26 +0200
committerEfraim Flashner <efraim@flashner.co.il>2024-11-28 11:05:33 +0200
commit23f9d1d5931b6970d6981e39d0bfb418f9679b5d (patch)
tree9d1520935ca35f2d0d2e53639c97102044f3950a /gnu/packages/crates-vcs.scm
parent80a77d59d13875f261f7437470231f71312d6c87 (diff)
downloadguix-23f9d1d5931b6970d6981e39d0bfb418f9679b5d.tar.gz
guix-23f9d1d5931b6970d6981e39d0bfb418f9679b5d.zip
gnu: Add rust-git2-curl-0.20.
* gnu/packages/crates-vcs.scm (rust-git2-curl-0.20): New variable. (rust-git2-curl-0.19): Inherit from rust-git2-curl-0.20. Change-Id: Ib6a1105eb52698193d905108b0b405609c63c208
Diffstat (limited to 'gnu/packages/crates-vcs.scm')
-rw-r--r--gnu/packages/crates-vcs.scm27
1 files changed, 23 insertions, 4 deletions
diff --git a/gnu/packages/crates-vcs.scm b/gnu/packages/crates-vcs.scm
index dd48adcaac..c2bc539379 100644
--- a/gnu/packages/crates-vcs.scm
+++ b/gnu/packages/crates-vcs.scm
@@ -431,22 +431,22 @@ reading and writing git repositories.")
("rust-thread-id" ,rust-thread-id-3)
("rust-time" ,rust-time-0.1))))))
-(define-public rust-git2-curl-0.19
+(define-public rust-git2-curl-0.20
(package
(name "rust-git2-curl")
- (version "0.19.0")
+ (version "0.20.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "git2-curl" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "1hzp64h1x8kr2vvf3bx195s1999sh8d0cygw4vykymwcc1hnpqkq"))))
+ (base32 "17q7p4xdmvzn8jy75cdpl6bncy70z1v864wv0ch2690wg9919zv8"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t ;need rust-civet and others
#:cargo-inputs (("rust-curl" ,rust-curl-0.4)
- ("rust-git2" ,rust-git2-0.18)
+ ("rust-git2" ,rust-git2-0.19)
("rust-log" ,rust-log-0.4)
("rust-url" ,rust-url-2))))
(home-page "https://github.com/rust-lang/git2-rs")
@@ -455,6 +455,25 @@ reading and writing git repositories.")
libcurl, which is intended to be used with the @code{git2} crate.")
(license (list license:expat license:asl2.0))))
+(define-public rust-git2-curl-0.19
+ (package
+ (inherit rust-git2-curl-0.20)
+ (name "rust-git2-curl")
+ (version "0.19.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "git2-curl" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1hzp64h1x8kr2vvf3bx195s1999sh8d0cygw4vykymwcc1hnpqkq"))))
+ (arguments
+ `(#:skip-build? #t ;need rust-civet and others
+ #:cargo-inputs (("rust-curl" ,rust-curl-0.4)
+ ("rust-git2" ,rust-git2-0.18)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-url" ,rust-url-2))))))
+
(define-public rust-git2-curl-0.18
(package
(inherit rust-git2-curl-0.19)