summary refs log tree commit diff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2020-10-12 12:21:35 +0300
committerEfraim Flashner <efraim@flashner.co.il>2020-10-12 12:25:03 +0300
commit8608d40b2aeae69a6054b8e053b0474a58932ee0 (patch)
tree91ac1af60c423e8b34155a5045417fa50289da34
parent8203bf6c13e04760ed8d01062778bf1332a351f4 (diff)
downloadguix-8608d40b2aeae69a6054b8e053b0474a58932ee0.tar.gz
gnu: rust-xz2-0.1: Fix building.
* gnu/packages/crates-io.scm (rust-xz2-0.1)[native-inputs]: Add
pkg-config, xz.
-rw-r--r--gnu/packages/crates-io.scm6
1 files changed, 5 insertions, 1 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index b63d8c31ae..f716120e35 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -32526,7 +32526,8 @@ to XDG Base Directory specification.")
          "0v4jb0193gx8s1kvd2ajsgh0ffmwhqhfmrrw1n1h2z7w6jgqcyf1"))))
     (build-system cargo-build-system)
     (arguments
-     `(#:cargo-inputs
+     `(#:tests? #f  ; Not all files included in the tarball.
+       #:cargo-inputs
        (("rust-futures" ,rust-futures-0.1)
         ("rust-lzma-sys" ,rust-lzma-sys-0.1)
         ("rust-tokio-io" ,rust-tokio-io-0.1))
@@ -32534,6 +32535,9 @@ to XDG Base Directory specification.")
        (("rust-quickcheck" ,rust-quickcheck-0.7)
         ("rust-rand" ,rust-rand-0.5)
         ("rust-tokio-core" ,rust-tokio-core-0.1))))
+    (native-inputs
+     `(("pkg-config" ,pkg-config)
+       ("xz" ,xz)))
     (home-page "https://github.com/alexcrichton/xz2-rs")
     (synopsis "Rust bindings to liblzma")
     (description "This package provides Rust bindings to liblzma providing