me
/
guix
Archived
1
0
Fork 0

gnu: Add rust-libgit2-sys-0.15.

* gnu/packages/crates-io.scm (rust-libgit2-sys-0.15): New variable.
(rust-libgit2-sys-0.14): Inherit from rust-libgit2-sys-0.15.

Change-Id: Ic9e5705270fb6029ca34e877d2dadb0d184128cd
Efraim Flashner 2023-10-24 08:50:00 +03:00
parent fddc8c1d4e
commit 0c4d43c918
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351
1 changed files with 36 additions and 12 deletions

View File

@ -37187,8 +37187,43 @@ algorithm and related formats (ZLIB, GZIP).")
(license
(list license:expat license:asl2.0 license:ncsa))))
(define-public rust-libgit2-sys-0.15
(package
(name "rust-libgit2-sys")
(version "0.15.2+1.6.4")
(source
(origin
(method url-fetch)
(uri (crate-uri "libgit2-sys" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1yllyq9wiryy257cfx8s7wadls24yzkxnhmbl95iz9ml3zhz43d8"))
(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.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))))
(define-public rust-libgit2-sys-0.14
(package
(inherit rust-libgit2-sys-0.15)
(name "rust-libgit2-sys")
(version "0.14.2+1.5.1")
(source
@ -37203,7 +37238,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)
@ -37211,17 +37245,7 @@ algorithm and related formats (ZLIB, GZIP).")
("rust-libssh2-sys" ,rust-libssh2-sys-0.2)
("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 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))))
("rust-pkg-config" ,rust-pkg-config-0.3))))))
(define-public rust-libgit2-sys-0.13
(package