Files
nixpkgs/pkgs/development/python-modules/karton-autoit-ripper/default.nix
T
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

56 lines
1.1 KiB
Nix

{
lib,
autoit-ripper,
buildPythonPackage,
fetchFromGitHub,
setuptools,
karton-core,
malduck,
pythonOlder,
regex,
}:
buildPythonPackage rec {
pname = "karton-autoit-ripper";
version = "1.2.0";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "CERT-Polska";
repo = "karton-autoit-ripper";
tag = "v${version}";
hash = "sha256-D+M3JsIN8LUWg8GVweEzySHI7KaBb6cNHHn4pXoq55M=";
};
build-system = [ setuptools ];
pythonRelaxDeps = [
"autoit-ripper"
"malduck"
"regex"
];
dependencies = [
autoit-ripper
karton-core
malduck
regex
];
# Module has no tests
doCheck = false;
pythonImportsCheck = [ "karton.autoit_ripper" ];
meta = {
description = "AutoIt script ripper for Karton framework";
mainProgram = "karton-autoit-ripper";
homepage = "https://github.com/CERT-Polska/karton-autoit-ripper";
changelog = "https://github.com/CERT-Polska/karton-autoit-ripper/releases/tag/v${version}";
license = with lib.licenses; [ bsd3 ];
maintainers = with lib.maintainers; [ fab ];
};
}