mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-14 09:43:14 +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
|
||||
, 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"
|
||||
|
Loading…
Reference in New Issue
Block a user