8 , opensslSupport ? false
12 stdenv.mkDerivation rec {
17 url = "https://aluigi.altervista.org/papers/quickbms-src-${version}.zip";
18 hash = "sha256-uQKTE36pLO8uhrX794utqaDGUeyqRz6zLCQFA7DYkNc=";
22 # Fix errors on x86_64 and _rotl definition
24 name = "0001-fix-compile.patch";
25 url = "https://aur.archlinux.org/cgit/aur.git/plain/fix-compile.patch?h=quickbms&id=a2e3e4638295d7cfe39513bfef9447fb23154a6b";
26 hash = "sha256-49fT/L4BNzMYnq1SXhFMgSDLybLkz6KSbgKmUpZZu08=";
29 ] ++ lib.optional (!opensslSupport) ./0002-disable-openssl.patch;
31 buildInputs = [ bzip2 lzo zlib ]
32 ++ lib.optional (opensslSupport) openssl_1_1;
34 makeFlags = [ "PREFIX=$(out)" ];
37 description = "Universal script based file extractor and reimporter";
38 homepage = "https://aluigi.altervista.org/quickbms.htm";
39 license = licenses.gpl2Plus;
41 platforms = platforms.linux;
42 mainProgram = "quickbms";