2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
autoit-ripper,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchFromGitHub,
|
2024-09-19 14:19:46 +00:00
|
|
|
setuptools,
|
2024-06-05 15:53:02 +00:00
|
|
|
karton-core,
|
|
|
|
malduck,
|
|
|
|
pythonOlder,
|
|
|
|
regex,
|
2021-05-03 20:48:10 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "karton-autoit-ripper";
|
2022-08-12 12:06:08 +00:00
|
|
|
version = "1.2.0";
|
2024-09-19 14:19:46 +00:00
|
|
|
pyproject = true;
|
2022-05-18 14:49:53 +00:00
|
|
|
|
|
|
|
disabled = pythonOlder "3.7";
|
2021-05-03 20:48:10 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "CERT-Polska";
|
2024-09-19 14:19:46 +00:00
|
|
|
repo = "karton-autoit-ripper";
|
2023-02-16 17:41:37 +00:00
|
|
|
rev = "refs/tags/v${version}";
|
|
|
|
hash = "sha256-D+M3JsIN8LUWg8GVweEzySHI7KaBb6cNHHn4pXoq55M=";
|
2021-05-03 20:48:10 +00:00
|
|
|
};
|
|
|
|
|
2024-09-19 14:19:46 +00:00
|
|
|
build-system = [ setuptools ];
|
|
|
|
|
|
|
|
pythonRelaxDeps = [
|
|
|
|
"autoit-ripper"
|
|
|
|
"malduck"
|
|
|
|
"regex"
|
|
|
|
];
|
|
|
|
|
|
|
|
dependencies = [
|
2021-05-03 20:48:10 +00:00
|
|
|
autoit-ripper
|
|
|
|
karton-core
|
|
|
|
malduck
|
|
|
|
regex
|
|
|
|
];
|
|
|
|
|
2022-05-18 14:49:53 +00:00
|
|
|
# Module has no tests
|
2021-05-03 20:48:10 +00:00
|
|
|
doCheck = false;
|
2022-05-18 14:49:53 +00:00
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
pythonImportsCheck = [ "karton.autoit_ripper" ];
|
2021-05-03 20:48:10 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "AutoIt script ripper for Karton framework";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "karton-autoit-ripper";
|
2021-05-03 20:48:10 +00:00
|
|
|
homepage = "https://github.com/CERT-Polska/karton-autoit-ripper";
|
2023-02-16 17:41:37 +00:00
|
|
|
changelog = "https://github.com/CERT-Polska/karton-autoit-ripper/releases/tag/v${version}";
|
2021-05-03 20:48:10 +00:00
|
|
|
license = with licenses; [ bsd3 ];
|
|
|
|
maintainers = with maintainers; [ fab ];
|
|
|
|
};
|
|
|
|
}
|