lol
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

at 15.09-beta 32 lines 1.1 kB view raw
1{ stdenv, fetchFromGitHub, python, wrapPython, curses, mtdutils, zlib, xz, ncompress, gzip, bzip2, gnutar, p7zip, cabextract 2, pyqtgraph ? null 3, visualizationSupport ? false }: 4 5assert visualizationSupport -> pyqtgraph != null; 6 7stdenv.mkDerivation rec { 8 version = "2.0.1"; 9 name = "binwalk-${version}"; 10 11 src = fetchFromGitHub { 12 owner = "devttys0"; 13 repo = "binwalk"; 14 rev = "v${version}"; 15 sha256 = "1r5389lk3gk8y4ksrfljyb97l6pwnwvv8g1slbgr20avkzgw8zmn"; 16 }; 17 18 pythonPath = with stdenv.lib; [ curses ] 19 ++ optional visualizationSupport [ pyqtgraph ]; 20 21 propagatedBuildInputs = with stdenv.lib; [ python wrapPython curses mtdutils zlib xz ncompress gzip bzip2 gnutar p7zip cabextract ] 22 ++ optional visualizationSupport [ pyqtgraph ]; 23 24 postInstall = "wrapPythonPrograms"; 25 26 meta = with stdenv.lib; { 27 homepage = "http://binwalk.org"; 28 description = "A tool for searching a given binary image for embedded files"; 29 platforms = platforms.all; 30 maintainers = [ maintainers.koral ]; 31 }; 32}