mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-14 17:53:37 +00:00
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
This commit is contained in:
parent
a3e65db44a
commit
a12c5f1e06
@ -3,18 +3,20 @@
|
|||||||
, capstone
|
, capstone
|
||||||
, click
|
, click
|
||||||
, cryptography
|
, cryptography
|
||||||
|
, dnfile
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, pefile
|
, pefile
|
||||||
, pycryptodomex
|
, pycryptodomex
|
||||||
, pyelftools
|
, pyelftools
|
||||||
, pythonOlder
|
, pythonOlder
|
||||||
|
, pytestCheckHook
|
||||||
, typing-extensions
|
, typing-extensions
|
||||||
, yara-python
|
, yara-python
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "malduck";
|
pname = "malduck";
|
||||||
version = "4.2.0";
|
version = "4.3.0";
|
||||||
format = "setuptools";
|
format = "setuptools";
|
||||||
|
|
||||||
disabled = pythonOlder "3.7";
|
disabled = pythonOlder "3.7";
|
||||||
@ -23,13 +25,14 @@ buildPythonPackage rec {
|
|||||||
owner = "CERT-Polska";
|
owner = "CERT-Polska";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "refs/tags/v${version}";
|
rev = "refs/tags/v${version}";
|
||||||
hash = "sha256-UgpblcZ/Jxl3U4256YIHzly7igNXwhTdFN4HOqZBVbM=";
|
hash = "sha256-1gwJhlhRLnh01AIJj07Wpba8X7V5AfACuJmZX+cfT6Y=";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
capstone
|
capstone
|
||||||
click
|
click
|
||||||
cryptography
|
cryptography
|
||||||
|
dnfile
|
||||||
pefile
|
pefile
|
||||||
pycryptodomex
|
pycryptodomex
|
||||||
pyelftools
|
pyelftools
|
||||||
@ -39,11 +42,13 @@ buildPythonPackage rec {
|
|||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
substituteInPlace requirements.txt \
|
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
|
checkInputs = [
|
||||||
doCheck = false;
|
pytestCheckHook
|
||||||
|
];
|
||||||
|
|
||||||
pythonImportsCheck = [
|
pythonImportsCheck = [
|
||||||
"malduck"
|
"malduck"
|
||||||
|
Loading…
Reference in New Issue
Block a user