diff options
author | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2020-12-05 16:28:45 +0100 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2020-12-05 17:43:40 +0100 |
commit | 57c88ee947339d76fda9b864957477b6efe9f257 (patch) | |
tree | b1dcebc274872b81679d26ddefd62ab89343832c /gnu | |
parent | 975b1586a40aef5d2cc32fd77a50976c27635a96 (diff) | |
download | guix-57c88ee947339d76fda9b864957477b6efe9f257.tar.gz guix-57c88ee947339d76fda9b864957477b6efe9f257.zip |
gnu: Add rust-libgit2-sys-0.12.
* gnu/packages/crates-io.scm (rust-libgit2-sys-0.12): New variable.
(rust-libgit2-sys-0.10): Inherit from above.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/crates-io.scm | 49 |
1 files changed, 35 insertions, 14 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index b20845fe7a..6a9114dbc1 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -13896,30 +13896,25 @@ algorithm and related formats (ZLIB, GZIP).") (description "This package provides a LZ77 encoder for libflate crate.") (license license:expat))) -(define-public rust-libgit2-sys-0.10 +(define-public rust-libgit2-sys-0.12 (package (name "rust-libgit2-sys") - (version "0.10.0") + (version "0.12.14+1.1.0") (source (origin (method url-fetch) (uri (crate-uri "libgit2-sys" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "0l9fvki7qxsl97vgzqwlv75nl213a5vxw7b1jaik97ala356pv6r")) - (modules '((guix build utils))) - (snippet - '(begin (delete-file-recursively "libgit2") #t)))) + (base32 "0jgmp69a53lki14p8pigxniwyl755lhqzl0r56ppqps9wrcay9cg")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs - (("rust-libc" ,rust-libc-0.2) - ("rust-libz-sys" ,rust-libz-sys-1) + (("rust-cc" ,rust-cc-1) + ("rust-libc" ,rust-libc-0.2) ("rust-libssh2-sys" ,rust-libssh2-sys-0.2) + ("rust-libz-sys" ,rust-libz-sys-1) ("rust-openssl-sys" ,rust-openssl-sys-0.9) - ;; Build dependencies: - ("rust-cc" ,rust-cc-1) ("rust-pkg-config" ,rust-pkg-config-0.3)))) (native-inputs `(("pkg-config" ,pkg-config))) @@ -13930,9 +13925,35 @@ algorithm and related formats (ZLIB, GZIP).") (home-page "https://github.com/rust-lang/git2-rs") (synopsis "Native bindings to the libgit2 library") (description - "This package provides native rust bindings to the @code{libgit2} library.") - (license (list license:asl2.0 - license:expat)))) + "This package provides native Rust bindings to the @code{libgit2} +library.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-libgit2-sys-0.10 + (package + (inherit rust-libgit2-sys-0.12) + (name "rust-libgit2-sys") + (version "0.10.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "libgit2-sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0l9fvki7qxsl97vgzqwlv75nl213a5vxw7b1jaik97ala356pv6r")) + (modules '((guix build utils))) + (snippet + '(begin (delete-file-recursively "libgit2") #t)))) + (arguments + `(#:cargo-inputs + (("rust-libc" ,rust-libc-0.2) + ("rust-libz-sys" ,rust-libz-sys-1) + ("rust-libssh2-sys" ,rust-libssh2-sys-0.2) + ("rust-openssl-sys" ,rust-openssl-sys-0.9) + ;; Build dependencies: + ("rust-cc" ,rust-cc-1) + ("rust-pkg-config" ,rust-pkg-config-0.3)))))) (define-public rust-libgit2-sys-0.8 (package |