From 327cca2ab328d7d062ffaa9d6460c8da1da3ddde Mon Sep 17 00:00:00 2001 From: Klemens Nanni Date: Mon, 26 Oct 2020 03:22:19 +0100 Subject: [PATCH] binwalk: Install SquashFS tooling Otherwise extraction fails for what I consider a common type of data; note how both packages are required as binwalk uses `sasquatch` as well as `unsquashfs`. --- pkgs/development/python-modules/binwalk/default.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/binwalk/default.nix b/pkgs/development/python-modules/binwalk/default.nix index 0970cc18249..c6fbbc13c43 100644 --- a/pkgs/development/python-modules/binwalk/default.nix +++ b/pkgs/development/python-modules/binwalk/default.nix @@ -11,6 +11,8 @@ , cabextract , cramfsprogs , cramfsswap +, sasquatch +, squashfsTools , lzma , matplotlib , nose @@ -32,7 +34,7 @@ buildPythonPackage { sha256 = "1bxgj569fzwv6jhcbl864nmlsi9x1k1r20aywjxc8b9b1zgqrlvc"; }; - propagatedBuildInputs = [ zlib xz ncompress gzip bzip2 gnutar p7zip cabextract cramfsswap cramfsprogs lzma pycrypto ] + propagatedBuildInputs = [ zlib xz ncompress gzip bzip2 gnutar p7zip cabextract cramfsswap cramfsprogs sasquatch squashfsTools lzma pycrypto ] ++ stdenv.lib.optionals visualizationSupport [ matplotlib pyqtgraph ]; # setup.py only installs version.py during install, not test