aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2020-01-25 21:51:48 +0200
committerEfraim Flashner <efraim@flashner.co.il>2020-01-27 18:36:12 +0200
commitbba73d473afc8299b9e4006617264e90a46cd375 (patch)
treed77f14e4ca7439b1f5f771c6273ac9418dcc13c1 /gnu
parentad03f50fa80c0a5306de6b3efbd152bcf281164d (diff)
downloadpatches-bba73d473afc8299b9e4006617264e90a46cd375.tar
patches-bba73d473afc8299b9e4006617264e90a46cd375.tar.gz
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.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-io.scm19
1 files changed, 6 insertions, 13 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 8ba8cde99a..144ada8081 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -5893,26 +5893,19 @@ functions and static variables these libraries contain.")
(origin
(method url-fetch)
(uri (crate-uri "lzma-sys" version))
- (file-name (string-append name "-" version ".crate"))
+ (file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
- "14gyj256yh0wm77jbvmlc39v7lfn0navpfrja4alczarzlc8ir2k"))))
+ "14gyj256yh0wm77jbvmlc39v7lfn0navpfrja4alczarzlc8ir2k"))
+ (modules '((guix build utils)))
+ (snippet
+ '(begin (delete-file-recursively "xz-5.2") #t))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-libc" ,rust-libc-0.2)
("rust-cc" ,rust-cc-1.0)
- ("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)))))
+ ("rust-pkg-config" ,rust-pkg-config-0.3))))
(native-inputs
`(("pkg-config" ,pkg-config)
("xz" ,xz)))