gnu: rust-lzma-sys-0.1: Don't hide package.
* gnu/packages/crates-io.scm (rust-lzma-sys-0.1)[arguments]: Add rust-libc-0.2, rust-cc-1.0, rust-pkg-config-0.3 to cargo-inputs. Add custom phase to delete vendored code. [native-inputs]: Add pkg-config, xz. [properties]: Remove field.master
parent
af996d9086
commit
328df292aa
|
@ -5898,23 +5898,29 @@ functions and static variables these libraries contain.")
|
||||||
(base32
|
(base32
|
||||||
"14gyj256yh0wm77jbvmlc39v7lfn0navpfrja4alczarzlc8ir2k"))))
|
"14gyj256yh0wm77jbvmlc39v7lfn0navpfrja4alczarzlc8ir2k"))))
|
||||||
(build-system cargo-build-system)
|
(build-system cargo-build-system)
|
||||||
;(arguments
|
(arguments
|
||||||
; `(#:phases
|
`(#:cargo-inputs
|
||||||
; (modify-phases %standard-phases
|
(("rust-libc" ,rust-libc-0.2)
|
||||||
; (add-after 'unpack 'unbundle-xz
|
("rust-cc" ,rust-cc-1.0)
|
||||||
; (lambda* (#:key inputs #:allow-other-keys)
|
("rust-pkg-config" ,rust-pkg-config-0.3))
|
||||||
; (let ((xz (assoc-ref inputs "xz")))
|
#:phases
|
||||||
; (delete-file-recursively "xz-5.2"))
|
(modify-phases %standard-phases
|
||||||
; #t)))))
|
(add-after 'configure 'unbundle-xz
|
||||||
;(inputs
|
(lambda _
|
||||||
; `(("pkg-config" ,pkg-config)
|
(delete-file-recursively "xz-5.2")
|
||||||
; ("xz" ,xz)))
|
(delete-file-recursively
|
||||||
|
(string-append "guix-vendor/rust-lzma-sys-"
|
||||||
|
,(package-version rust-lzma-sys-0.1)
|
||||||
|
".crate/xz-5.2"))
|
||||||
|
#t)))))
|
||||||
|
(native-inputs
|
||||||
|
`(("pkg-config" ,pkg-config)
|
||||||
|
("xz" ,xz)))
|
||||||
(home-page "https://github.com/alexcrichton/xz2-rs")
|
(home-page "https://github.com/alexcrichton/xz2-rs")
|
||||||
(synopsis "Bindings to liblzma for lzma and xz stream encoding/decoding")
|
(synopsis "Bindings to liblzma for lzma and xz stream encoding/decoding")
|
||||||
(description
|
(description
|
||||||
"This package contains the raw bindings to liblzma which contains an
|
"This package contains the raw bindings to liblzma which contains an
|
||||||
implementation of LZMA and xz stream encoding/decoding.")
|
implementation of LZMA and xz stream encoding/decoding.")
|
||||||
(properties '((hidden? . #t)))
|
|
||||||
(license (list license:asl2.0
|
(license (list license:asl2.0
|
||||||
license:expat))))
|
license:expat))))
|
||||||
|
|
||||||
|
|
Reference in New Issue