2024-04-21 15:54:59 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchFromGitHub,
|
|
|
|
poetry-core,
|
|
|
|
pytestCheckHook,
|
|
|
|
pythonOlder,
|
2024-01-02 11:29:13 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "apkinspector";
|
2024-04-21 15:54:59 +00:00
|
|
|
version = "1.2.3";
|
2024-01-02 11:29:13 +00:00
|
|
|
pyproject = true;
|
|
|
|
|
|
|
|
disabled = pythonOlder "3.8";
|
|
|
|
|
2024-04-21 15:54:59 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "erev0s";
|
|
|
|
repo = "apkInspector";
|
|
|
|
rev = "refs/tags/v${version}";
|
|
|
|
hash = "sha256-n6uVyN5XBEM/nuN7mvhNRwMUgUT5abOsh3CbhKK6ifY=";
|
2024-01-02 11:29:13 +00:00
|
|
|
};
|
|
|
|
|
2024-04-21 15:54:59 +00:00
|
|
|
build-system = [ poetry-core ];
|
2024-01-02 11:29:13 +00:00
|
|
|
|
2024-04-21 15:54:59 +00:00
|
|
|
nativeCheckInputs = [ pytestCheckHook ];
|
2024-01-02 11:29:13 +00:00
|
|
|
|
2024-04-21 15:54:59 +00:00
|
|
|
pythonImportsCheck = [ "apkInspector" ];
|
2024-01-02 11:29:13 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Module designed to provide detailed insights into the zip structure of APK files";
|
|
|
|
homepage = "https://github.com/erev0s/apkInspector";
|
2024-04-21 15:54:59 +00:00
|
|
|
changelog = "https://github.com/erev0s/apkInspector/releases/tag/v${version}";
|
2024-01-02 11:29:13 +00:00
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = with maintainers; [ fab ];
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "apkInspector";
|
2024-01-02 11:29:13 +00:00
|
|
|
};
|
|
|
|
}
|