ansible-later: 2.0.22 -> 2.0.23
[NixPkgs.git] / pkgs / development / python-modules / autoit-ripper / default.nix
blob420322a32340d4baa585e0cec2b628c041ca54a8
1 { lib
2 , buildPythonPackage
3 , fetchPypi
4 , pefile
5 , pythonOlder
6 }:
8 buildPythonPackage rec {
9   pname = "autoit-ripper";
10   version = "1.1.0";
11   format = "setuptools";
13   disabled = pythonOlder "3.7";
15   src = fetchPypi {
16     inherit pname version;
17     sha256 = "sha256-fluG/2XlUh3kPtYtSotrP02c7kdmem92Hy1R93SaTzk=";
18   };
20   propagatedBuildInputs = [
21     pefile
22   ];
24   postPatch = ''
25     substituteInPlace requirements.txt \
26       --replace "pefile==2019.4.18" "pefile>=2019.4.18"
27   '';
29   # Project has no tests
30   doCheck = false;
32   pythonImportsCheck = [
33     "autoit_ripper"
34   ];
36   meta = with lib; {
37     description = "Python module to extract AutoIt scripts embedded in PE binaries";
38     homepage = "https://github.com/nazywam/AutoIt-Ripper";
39     license = with licenses; [ mit ];
40     maintainers = with maintainers; [ fab ];
41   };