diff options
| author | Fabian Affolter <mail@fabian-affolter.ch> | 2022-12-11 11:03:33 +0100 |
|---|---|---|
| committer | Fabian Affolter <mail@fabian-affolter.ch> | 2022-12-11 11:03:40 +0100 |
| commit | a12c5f1e06d3ce4215cb0d393a0e1e67c0c247d2 (patch) | |
| tree | df291e8b6164a5aff982043e98504a88bd4c8fe7 | |
| parent | python310Packages.dnfile: init at 0.12.0 (diff) | |
| download | nixpkgs-a12c5f1e06d3ce4215cb0d393a0e1e67c0c247d2.tar.gz | |
python310Packages.malduck: 4.2.0 -> 4.3.0
Diff: https://github.com/CERT-Polska/malduck/compare/refs/tags/v4.2.0...v4.3.0
Changelog: https://github.com/CERT-Polska/malduck/releases/tag/v4.3.0
| -rw-r--r-- | pkgs/development/python-modules/malduck/default.nix | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/pkgs/development/python-modules/malduck/default.nix b/pkgs/development/python-modules/malduck/default.nix index 48265cfc0afc..d984328ac6b2 100644 --- a/pkgs/development/python-modules/malduck/default.nix +++ b/pkgs/development/python-modules/malduck/default.nix @@ -3,18 +3,20 @@ , capstone , click , cryptography +, dnfile , fetchFromGitHub , pefile , pycryptodomex , pyelftools , pythonOlder +, pytestCheckHook , typing-extensions , yara-python }: buildPythonPackage rec { pname = "malduck"; - version = "4.2.0"; + version = "4.3.0"; format = "setuptools"; disabled = pythonOlder "3.7"; @@ -23,13 +25,14 @@ buildPythonPackage rec { owner = "CERT-Polska"; repo = pname; rev = "refs/tags/v${version}"; - hash = "sha256-UgpblcZ/Jxl3U4256YIHzly7igNXwhTdFN4HOqZBVbM="; + hash = "sha256-1gwJhlhRLnh01AIJj07Wpba8X7V5AfACuJmZX+cfT6Y="; }; propagatedBuildInputs = [ capstone click cryptography + dnfile pefile pycryptodomex pyelftools @@ -39,11 +42,13 @@ buildPythonPackage rec { postPatch = '' substituteInPlace requirements.txt \ - --replace "pefile==2019.4.18" "pefile" + --replace "pefile==2019.4.18" "pefile" \ + --replace "dnfile==0.11.0" "dnfile" ''; - # Project has no tests. They will come with the next release - doCheck = false; + checkInputs = [ + pytestCheckHook + ]; pythonImportsCheck = [ "malduck" |
