mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: rust-lzma-sys-0.1: Remove vendored code.
* gnu/packages/crates-io.scm (rust-lzma-sys-0.1)[source]: Remove vendored code. [arguments]: Remove custom phase.
This commit is contained in:
parent
ad03f50fa8
commit
bba73d473a
1 changed files with 6 additions and 13 deletions
|
@ -5893,26 +5893,19 @@ functions and static variables these libraries contain.")
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (crate-uri "lzma-sys" version))
|
(uri (crate-uri "lzma-sys" version))
|
||||||
(file-name (string-append name "-" version ".crate"))
|
(file-name (string-append name "-" version ".tar.gz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"14gyj256yh0wm77jbvmlc39v7lfn0navpfrja4alczarzlc8ir2k"))))
|
"14gyj256yh0wm77jbvmlc39v7lfn0navpfrja4alczarzlc8ir2k"))
|
||||||
|
(modules '((guix build utils)))
|
||||||
|
(snippet
|
||||||
|
'(begin (delete-file-recursively "xz-5.2") #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.0)
|
("rust-cc" ,rust-cc-1.0)
|
||||||
("rust-pkg-config" ,rust-pkg-config-0.3))
|
("rust-pkg-config" ,rust-pkg-config-0.3))))
|
||||||
#:phases
|
|
||||||
(modify-phases %standard-phases
|
|
||||||
(add-after 'configure 'unbundle-xz
|
|
||||||
(lambda _
|
|
||||||
(delete-file-recursively "xz-5.2")
|
|
||||||
(delete-file-recursively
|
|
||||||
(string-append "guix-vendor/rust-lzma-sys-"
|
|
||||||
,(package-version rust-lzma-sys-0.1)
|
|
||||||
".crate/xz-5.2"))
|
|
||||||
#t)))))
|
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("pkg-config" ,pkg-config)
|
`(("pkg-config" ,pkg-config)
|
||||||
("xz" ,xz)))
|
("xz" ,xz)))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue