[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
05/08: gnu: rust-lzma-sys-0.1: Remove vendored code.
From: |
guix-commits |
Subject: |
05/08: gnu: rust-lzma-sys-0.1: Remove vendored code. |
Date: |
Mon, 27 Jan 2020 12:47:26 -0500 (EST) |
efraim pushed a commit to branch master
in repository guix.
commit bba73d473afc8299b9e4006617264e90a46cd375
Author: Efraim Flashner <address@hidden>
AuthorDate: Sat Jan 25 21:51:48 2020 +0200
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.
---
gnu/packages/crates-io.scm | 19 ++++++-------------
1 file changed, 6 insertions(+), 13 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 8ba8cde..144ada8 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)))
- branch master updated (2afae7f -> 61b95c1), guix-commits, 2020/01/27
- 01/08: build: cargo-build-system: Allow patched crates., guix-commits, 2020/01/27
- 02/08: gnu: rust-libgit2-sys-0.10: Remove vendored code., guix-commits, 2020/01/27
- 03/08: gnu: rust-jemalloc-sys-0.3: Remove vendored code., guix-commits, 2020/01/27
- 05/08: gnu: rust-lzma-sys-0.1: Remove vendored code.,
guix-commits <=
- 06/08: gnu: rust-libz-sys-1.0: Remove vendored code., guix-commits, 2020/01/27
- 04/08: gnu: rust-libssh2-sys-0.2: Remove vendored code., guix-commits, 2020/01/27
- 07/08: gnu: rust-pcre2-sys-0.2: Delete vendored code., guix-commits, 2020/01/27
- 08/08: build: cargo-build-system: Add pkg-config environment variables., guix-commits, 2020/01/27