about summary refs log tree commit diff
path: root/pkgs/by-name/ko/koodousfinder/package.nix
blob: 665925d9166ccfba0339ed3b2d494f6c64ff8942 (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
40
41
42
43
44
45
46
47
{ lib
, python3
, fetchFromGitHub
}:

python3.pkgs.buildPythonApplication rec {
  pname = "koodousfinder";
  version = "0.1.0";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "teixeira0xfffff";
    repo = "KoodousFinder";
    # Not properly tagged, https://github.com/teixeira0xfffff/KoodousFinder/issues/7
    #rev = "refs/tags/v${version}";
    rev = "d9dab5572f44e5cd45c04e6fcda38956897855d1";
    hash = "sha256-skCbt2lDKgSyZdHY3WImbr6CF0icrDPTIXNV1736gKk=";
  };

  pythonRelaxDeps = [
    "keyring"
  ];

  nativeBuildInputs = with python3.pkgs; [
    poetry-core
    pythonRelaxDepsHook
  ];

  propagatedBuildInputs = with python3.pkgs; [
    keyring
    requests
  ];

  # Project has no tests, re-check with next release
  doCheck = false;

  pythonImportsCheck = [
    "koodousfinder"
  ];

  meta = with lib; {
    description = "Tool to allows users to search for and analyze Android apps";
    homepage = "https://github.com/teixeira0xfffff/KoodousFinder";
    license = with licenses; [ mit ];
    maintainers = with maintainers; [ fab ];
  };
}