Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / apkinspector / default.nix
blob925845c73da3f36aa4b06dd89ee19bd092c9e7eb
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   poetry-core,
6   pytestCheckHook,
7   pythonOlder,
8 }:
10 buildPythonPackage rec {
11   pname = "apkinspector";
12   version = "1.2.3";
13   pyproject = true;
15   disabled = pythonOlder "3.8";
17   src = fetchFromGitHub {
18     owner = "erev0s";
19     repo = "apkInspector";
20     rev = "refs/tags/v${version}";
21     hash = "sha256-n6uVyN5XBEM/nuN7mvhNRwMUgUT5abOsh3CbhKK6ifY=";
22   };
24   build-system = [ poetry-core ];
26   nativeCheckInputs = [ pytestCheckHook ];
28   pythonImportsCheck = [ "apkInspector" ];
30   meta = with lib; {
31     description = "Module designed to provide detailed insights into the zip structure of APK files";
32     homepage = "https://github.com/erev0s/apkInspector";
33     changelog = "https://github.com/erev0s/apkInspector/releases/tag/v${version}";
34     license = licenses.asl20;
35     maintainers = with maintainers; [ fab ];
36     mainProgram = "apkInspector";
37   };