python3Packages.autoit-ripper: init at 1.0.1

This commit is contained in:
Fabian Affolter 2021-04-26 14:59:46 +02:00
parent b164642941
commit 94f8f5edf7
2 changed files with 38 additions and 0 deletions

View File

@ -0,0 +1,36 @@
{ lib
, buildPythonPackage
, fetchPypi
, lief
, pythonOlder
}:
buildPythonPackage rec {
pname = "autoit-ripper";
version = "1.0.1";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
sha256 = "0mbsrfa72n7y1vkm9jhwhn1z3k45jxrlgx58ia1l2bp6chnnn2zy";
};
propagatedBuildInputs = [
lief
];
postPatch = ''
substituteInPlace requirements.txt --replace "lief==0.10.1" "lief>=0.10.1"
'';
# Project has no tests
doCheck = false;
pythonImportsCheck = [ "autoit_ripper" ];
meta = with lib; {
description = "Python module to extract AutoIt scripts embedded in PE binaries";
homepage = "https://github.com/nazywam/AutoIt-Ripper";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}

View File

@ -617,6 +617,8 @@ in {
autograd = callPackage ../development/python-modules/autograd { };
autoit-ripper = callPackage ../development/python-modules/autoit-ripper { };
autologging = callPackage ../development/python-modules/autologging { };
automat = callPackage ../development/python-modules/automat { };