nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 pefile,
6 setuptools,
7}:
8
9buildPythonPackage rec {
10 pname = "autoit-ripper";
11 version = "1.1.2";
12 pyproject = true;
13
14 src = fetchPypi {
15 inherit pname version;
16 hash = "sha256-+BHWDkeVewoRUgaHln5TyoajpCvJiowCiC2dFYyp1MA=";
17 };
18
19 nativeBuildInputs = [ setuptools ];
20
21 propagatedBuildInputs = [ pefile ];
22
23 # Project has no tests
24 doCheck = false;
25
26 pythonImportsCheck = [ "autoit_ripper" ];
27
28 meta = {
29 description = "Python module to extract AutoIt scripts embedded in PE binaries";
30 mainProgram = "autoit-ripper";
31 homepage = "https://github.com/nazywam/AutoIt-Ripper";
32 changelog = "https://github.com/nazywam/AutoIt-Ripper/releases/tag/v${version}";
33 license = with lib.licenses; [ mit ];
34 maintainers = with lib.maintainers; [ fab ];
35 };
36}