17 buildPythonPackage rec {
20 format = "setuptools";
22 disabled = pythonOlder "3.7";
24 src = fetchFromGitHub {
25 owner = "CERT-Polska";
27 rev = "refs/tags/v${version}";
28 hash = "sha256-CXHbU1AudvOJrG9MKYDQXeEtwrJODRPQtK43dQzZASE=";
31 propagatedBuildInputs = [
44 substituteInPlace requirements.txt \
45 --replace "pefile==2019.4.18" "pefile" \
46 --replace "dnfile==0.11.0" "dnfile"
53 pythonImportsCheck = [
58 description = "Helper for malware analysis";
59 mainProgram = "malduck";
60 homepage = "https://github.com/CERT-Polska/malduck";
61 changelog = "https://github.com/CERT-Polska/malduck/releases/tag/v${version}";
62 license = with licenses; [ bsd3 ];
63 maintainers = with maintainers; [ fab ];