1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-23 06:01:15 +00:00

python3Packages.malduck: init at 4.1.0

This commit is contained in:
Fabian Affolter 2021-04-14 23:18:09 +02:00
parent e019872af8
commit 5bb9bce7ed
2 changed files with 50 additions and 0 deletions

View file

@ -0,0 +1,48 @@
{ lib
, buildPythonPackage
, capstone
, click
, cryptography
, fetchFromGitHub
, pefile
, pycryptodomex
, pyelftools
, pythonOlder
, typing-extensions
, yara-python
}:
buildPythonPackage rec {
pname = "malduck";
version = "4.1.0";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "CERT-Polska";
repo = pname;
rev = "v${version}";
sha256 = "04d8bhzax9ynbl83hif9i8gcs29zrvcay2r6n7mcxiixlxcqciak";
};
propagatedBuildInputs = [
capstone
click
cryptography
pefile
pycryptodomex
pyelftools
typing-extensions
yara-python
];
# Project has no tests. They will come with the next release
doCheck = false;
pythonImportsCheck = [ "malduck" ];
meta = with lib; {
description = "Helper for malware analysis";
homepage = "https://github.com/CERT-Polska/malduck";
license = with licenses; [ bsd3 ];
maintainers = with maintainers; [ fab ];
};
}

View file

@ -4154,6 +4154,8 @@ in {
Mako = callPackage ../development/python-modules/Mako { };
malduck= callPackage ../development/python-modules/malduck { };
managesieve = callPackage ../development/python-modules/managesieve { };
manhole = callPackage ../development/python-modules/manhole { };