mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-14 07:00:32 -05:00
gnu: rust-libssh2-sys-0.2: Remove vendored code.
* gnu/packages/crates-io.scm (rust-libssh2-sys-0.2)[source]: Remove vendored code. [arguments]: Don't remove missing vendored code. (rust-libgit2-sys-0.10)[arguments]: Same. * gnu/packages/rust-apps.scm (tokei)[arguments]: Same.
This commit is contained in:
parent
e2302953d5
commit
ad03f50fa8
2 changed files with 5 additions and 15 deletions
|
@ -5628,10 +5628,6 @@ (define-public rust-libgit2-sys-0.10
|
||||||
(string-append "guix-vendor/rust-libz-sys-"
|
(string-append "guix-vendor/rust-libz-sys-"
|
||||||
,(package-version rust-libz-sys-1.0)
|
,(package-version rust-libz-sys-1.0)
|
||||||
".crate/src/zlib"))
|
".crate/src/zlib"))
|
||||||
(delete-file-recursively
|
|
||||||
(string-append "guix-vendor/rust-libssh2-sys-"
|
|
||||||
,(package-version rust-libssh2-sys-0.2)
|
|
||||||
".crate/libssh2"))
|
|
||||||
(setenv "LIBGIT2_SYS_USE_PKG_CONFIG" "1")
|
(setenv "LIBGIT2_SYS_USE_PKG_CONFIG" "1")
|
||||||
(setenv "LIBSSH2_SYS_USE_PKG_CONFIG" "1")
|
(setenv "LIBSSH2_SYS_USE_PKG_CONFIG" "1")
|
||||||
#t)))))
|
#t)))))
|
||||||
|
@ -5716,10 +5712,13 @@ (define-public rust-libssh2-sys-0.2
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (crate-uri "libssh2-sys" version))
|
(uri (crate-uri "libssh2-sys" version))
|
||||||
(file-name (string-append name "-" version ".crate"))
|
(file-name (string-append name "-" version ".tar.gz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"042gsgbvxgm5by4mk906j3zm4qdvzcfhjxrb55is1lrr6f0nxain"))))
|
"042gsgbvxgm5by4mk906j3zm4qdvzcfhjxrb55is1lrr6f0nxain"))
|
||||||
|
(modules '((guix build utils)))
|
||||||
|
(snippet
|
||||||
|
'(begin (delete-file-recursively "libssh2") #t))))
|
||||||
(build-system cargo-build-system)
|
(build-system cargo-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:skip-build? #t ; it wants rust-openssl-src
|
`(#:skip-build? #t ; it wants rust-openssl-src
|
||||||
|
@ -5737,11 +5736,6 @@ (define-public rust-libssh2-sys-0.2
|
||||||
(lambda* (#:key inputs #:allow-other-keys)
|
(lambda* (#:key inputs #:allow-other-keys)
|
||||||
(let ((openssl (assoc-ref inputs "openssl")))
|
(let ((openssl (assoc-ref inputs "openssl")))
|
||||||
(setenv "OPENSSL_DIR" openssl))
|
(setenv "OPENSSL_DIR" openssl))
|
||||||
(delete-file-recursively "libssh2")
|
|
||||||
(delete-file-recursively
|
|
||||||
(string-append "guix-vendor/rust-libssh2-sys-"
|
|
||||||
,(package-version rust-libssh2-sys-0.2)
|
|
||||||
".crate/libssh2"))
|
|
||||||
(delete-file-recursively
|
(delete-file-recursively
|
||||||
(string-append "guix-vendor/rust-libz-sys-"
|
(string-append "guix-vendor/rust-libz-sys-"
|
||||||
,(package-version rust-libz-sys-1.0)
|
,(package-version rust-libz-sys-1.0)
|
||||||
|
|
|
@ -146,10 +146,6 @@ (define-public tokei
|
||||||
(setenv "OPENSSL_DIR" openssl)
|
(setenv "OPENSSL_DIR" openssl)
|
||||||
(setenv "LIBGIT2_SYS_USE_PKG_CONFIG" "1")
|
(setenv "LIBGIT2_SYS_USE_PKG_CONFIG" "1")
|
||||||
(setenv "LIBSSH2_SYS_USE_PKG_CONFIG" "1")
|
(setenv "LIBSSH2_SYS_USE_PKG_CONFIG" "1")
|
||||||
(delete-file-recursively
|
|
||||||
(string-append "guix-vendor/rust-libssh2-sys-"
|
|
||||||
,(package-version rust-libssh2-sys-0.2)
|
|
||||||
".crate/libssh2"))
|
|
||||||
(delete-file-recursively
|
(delete-file-recursively
|
||||||
(string-append "guix-vendor/rust-libz-sys-"
|
(string-append "guix-vendor/rust-libz-sys-"
|
||||||
,(package-version rust-libz-sys-1.0)
|
,(package-version rust-libz-sys-1.0)
|
||||||
|
|
Loading…
Reference in a new issue