mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 05:48:07 -05:00
gnu: rust-libnghttp2-sys: Update to 0.1.9.
* gnu/packages/crates-io.scm (rust-libnghttp2-sys): Update to 0.1.9. [source]: Remove unneeded section of snippet. [cargo-inputs]: Remove rust-pkg-config-0.3. [inputs]: Remove pkg-config. Change-Id: I22b33b4818aada57d75ce4da931c4df6f2419360
This commit is contained in:
parent
4dbb0bb1f2
commit
f540aa0e76
1 changed files with 5 additions and 10 deletions
|
@ -37065,7 +37065,7 @@ (define-public rust-libmdns-0.6
|
||||||
(define-public rust-libnghttp2-sys-0.1
|
(define-public rust-libnghttp2-sys-0.1
|
||||||
(package
|
(package
|
||||||
(name "rust-libnghttp2-sys")
|
(name "rust-libnghttp2-sys")
|
||||||
(version "0.1.4+1.41.0")
|
(version "0.1.9+1.58.0")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
|
@ -37073,29 +37073,24 @@ (define-public rust-libnghttp2-sys-0.1
|
||||||
(file-name (string-append name "-" version ".tar.gz"))
|
(file-name (string-append name "-" version ".tar.gz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"1wcd93a8cw1h9y25834160y6ng982fi0qcd277hpjvhnvz34wqh3"))
|
"0r2ahmvgjm3x9m4vrz1j0baykn5n4n9rd7cvf1z1d3krya58azmm"))
|
||||||
(modules '((guix build utils)))
|
(modules '((guix build utils)))
|
||||||
(snippet
|
(snippet
|
||||||
'(begin
|
'(begin
|
||||||
(delete-file-recursively "nghttp2")
|
(delete-file-recursively "nghttp2")
|
||||||
(substitute* "Cargo.toml"
|
|
||||||
(("false")
|
|
||||||
"false\n[build-dependencies.pkg-config]\nversion = \"0.3\"\n"))
|
|
||||||
(delete-file "build.rs")
|
(delete-file "build.rs")
|
||||||
(with-output-to-file "build.rs"
|
(with-output-to-file "build.rs"
|
||||||
(lambda _
|
(lambda _
|
||||||
(format #t "fn main() {~@
|
(format #t "fn main() {~@
|
||||||
println!(\"cargo:rustc-link-lib=nghttp2\");~@
|
println!(\"cargo:rustc-link-lib=nghttp2\");~@
|
||||||
}~%")))
|
}~%")))))))
|
||||||
#t))))
|
|
||||||
(build-system cargo-build-system)
|
(build-system cargo-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:cargo-inputs
|
`(#:cargo-inputs
|
||||||
(("rust-libc" ,rust-libc-0.2)
|
(("rust-libc" ,rust-libc-0.2)
|
||||||
("rust-cc" ,rust-cc-1)
|
("rust-cc" ,rust-cc-1))))
|
||||||
("rust-pkg-config" ,rust-pkg-config-0.3))))
|
|
||||||
(inputs
|
(inputs
|
||||||
(list `(,nghttp2 "lib") pkg-config))
|
(list `(,nghttp2 "lib")))
|
||||||
(home-page "https://github.com/alexcrichton/nghttp2-rs")
|
(home-page "https://github.com/alexcrichton/nghttp2-rs")
|
||||||
(synopsis "FFI bindings for libnghttp2 (nghttp2)")
|
(synopsis "FFI bindings for libnghttp2 (nghttp2)")
|
||||||
(description
|
(description
|
||||||
|
|
Loading…
Reference in a new issue