depot/third_party/nixpkgs/pkgs/development/python-modules/apkinspector/default.nix
Default email 587713944a Project import generated by Copybara.
GitOrigin-RevId: 6143fc5eeb9c4f00163267708e26191d1e918932
2024-04-21 17:54:59 +02:00

38 lines
913 B
Nix

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