diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2023-12-27 11:48:58 +0200 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2024-02-20 13:56:55 +0200 |
commit | fb99ae2a098f0b60b9c048ff56b1e9ce9c5d19c6 (patch) | |
tree | b84105e157baa5f20a9c3e0de632ff2d5330d2cc /gnu/packages/crates-vcs.scm | |
parent | 2df8da862abffb0bccf9cecc6178861999507934 (diff) |
gnu: rust-git2-curl: Move to (gnu packages crates-vcs).
* gnu/packages/crates-io.scm (rust-git2-curl-0.18, rust-git2-curl-0.17):
Move from here ...
* gnu/packages/crates-vcs.scm: ... to here.
Change-Id: I12bb07ffdbe1ac97f00e0dd63bfd4566f1ba0a4a
Diffstat (limited to 'gnu/packages/crates-vcs.scm')
-rw-r--r-- | gnu/packages/crates-vcs.scm | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/gnu/packages/crates-vcs.scm b/gnu/packages/crates-vcs.scm index 3145e75c1b..c76378174c 100644 --- a/gnu/packages/crates-vcs.scm +++ b/gnu/packages/crates-vcs.scm @@ -391,3 +391,48 @@ reading and writing git repositories.") (inputs (modify-inputs (package-inputs rust-git2-0.11) (prepend curl))))) + +(define-public rust-git2-curl-0.18 + (package + (name "rust-git2-curl") + (version "0.18.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "git2-curl" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "132zzrrfw3cnfh9ffc9pfr94my97agnmk7pnfvzqr4kj5d1vgy7q")))) + (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.17) + ("rust-log" ,rust-log-0.4) + ("rust-url" ,rust-url-2)))) + (home-page "https://github.com/rust-lang/git2-rs") + (synopsis "Libgit2 HTTP transport backend powered by @code{libcurl}") + (description "Backend for an HTTP transport in @code{libgit2}, powered by +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.17 + (package + (inherit rust-git2-curl-0.18) + (name "rust-git2-curl") + (version "0.17.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "git2-curl" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0cydakv91acxkxfj0kazp9sc4mmr8l51649mi06wk9qv6kkg8xvm")))) + (arguments + `(#:skip-build? #t ;need rust-civet and others + #:cargo-inputs + (("rust-curl" ,rust-curl-0.4) + ("rust-git2" ,rust-git2-0.16) + ("rust-log" ,rust-log-0.4) + ("rust-url" ,rust-url-2)))))) |