about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/apkinspector/default.nix
blob: 6daf9868a4a4a6c3f30b4e3269a9b224e0195324 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
{ lib
, buildPythonPackage
, fetchPypi
, poetry-core
, pytestCheckHook
, pythonOlder
}:

buildPythonPackage rec {
  pname = "apkinspector";
  version = "1.2.1";
  pyproject = true;

  disabled = pythonOlder "3.8";

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-bB/WeCRnYOdfg4bm9Nloa2QMxr2IJW8IZd+svUno4N0=";
  };

  nativeBuildInputs = [
    poetry-core
  ];

  # Tests are not available
  # https://github.com/erev0s/apkInspector/issues/21
  doCheck = false;

  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";
    license = licenses.asl20;
    maintainers = with maintainers; [ fab ];
  };
}