summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorJaeme Sifat <jaeme@runbox.com>2023-10-29 00:27:05 -0400
committerEfraim Flashner <efraim@flashner.co.il>2023-11-28 07:59:28 +0200
commitdb53e6c846134e8bb75948ad52f2dc2f909edeb5 (patch)
tree917edd882bcf4e05bdf1c7aee4e09c9168376fc3 /gnu
parent6b61670f09d16b98a20057f0d0ba4e804b61b05f (diff)
gnu: Add rust-libgit2-sys-0.16.
* gnu/packages/crates-io.scm (rust-libgit2-sys-0.16): New variable. (rust-libgit2-sys-0.15): Inherit from libgit2-sys-0.16) Signed-off-by: Jaeme Sifat <jaeme@runbox.com> Change-Id: I8ebf29673c4f348171924ea1cc13d3baa0fdd3a7 Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-io.scm44
1 files changed, 33 insertions, 11 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 0894ad266c..9297d34ec4 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -39458,8 +39458,40 @@ algorithm and related formats (ZLIB, GZIP).")
(license
(list license:expat license:asl2.0 license:ncsa))))
+(define-public rust-libgit2-sys-0.16
+ (package
+ (name "rust-libgit2-sys")
+ (version "0.16.1+1.7.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "libgit2-sys" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "030dnq7hz79qs4rxdllc3ailvqzc432jwwxk7g8av55hh0vbp8pj"))
+ (modules '((guix build utils)))
+ (snippet
+ #~(begin (delete-file-recursively "libgit2")))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-cc" ,rust-cc-1)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-libssh2-sys" ,rust-libssh2-sys-0.3)
+ ("rust-libz-sys" ,rust-libz-sys-1)
+ ("rust-openssl-sys" ,rust-openssl-sys-0.9)
+ ("rust-pkg-config" ,rust-pkg-config-0.3))))
+ (native-inputs (list pkg-config))
+ (inputs (list libgit2-1.7 openssl zlib))
+ (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:expat license:asl2.0))))
+
(define-public rust-libgit2-sys-0.15
(package
+ (inherit rust-libgit2-sys-0.16)
(name "rust-libgit2-sys")
(version "0.15.2+1.6.4")
(source
@@ -39472,7 +39504,6 @@ algorithm and related formats (ZLIB, GZIP).")
(modules '((guix build utils)))
(snippet
'(begin (delete-file-recursively "libgit2")))))
- (build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-cc" ,rust-cc-1)
@@ -39481,16 +39512,7 @@ algorithm and related formats (ZLIB, GZIP).")
("rust-libz-sys" ,rust-libz-sys-1)
("rust-openssl-sys" ,rust-openssl-sys-0.9)
("rust-pkg-config" ,rust-pkg-config-0.3))))
- (native-inputs
- (list pkg-config))
- (inputs
- (list libgit2-1.6 openssl zlib))
- (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:expat license:asl2.0))))
+ (inputs (list libgit2-1.6 openssl zlib))))
(define-public rust-libgit2-sys-0.14
(package