python3Packages.orjson: Disable failing tests on 32 bit
[NixPkgs.git] / pkgs / tools / security / trueseeing / default.nix
blobd1014bd367720008778d0ed2d5dd437dfbca8d8f
1 { lib
2 , fetchFromGitHub
3 , python3
4 }:
6 python3.pkgs.buildPythonApplication rec {
7   pname = "trueseeing";
8   version = "2.1.5";
9   format = "flit";
11   src = fetchFromGitHub {
12     owner = "alterakey";
13     repo = pname;
14     rev = "v${version}";
15     hash = "sha256-7iQOQ81k2bPBber4ewyvDy82s26j4P3Vv8MzSs04KAw=";
16   };
18   nativeBuildInputs = with python3.pkgs; [
19     flit-core
20   ];
22   propagatedBuildInputs = with python3.pkgs; [
23     attrs
24     ipython
25     jinja2
26     lxml
27     pypubsub
28     pyyaml
29     docker
30   ];
32   postPatch = ''
33     substituteInPlace pyproject.toml \
34       --replace "attrs~=21.4" "attrs>=21.4" \
35       --replace "docker~=5.0.3" "docker"
36   '';
38   # Project has no tests
39   doCheck = false;
41   pythonImportsCheck = [
42     "trueseeing"
43   ];
45   meta = with lib; {
46     description = "Non-decompiling Android vulnerability scanner";
47     homepage = "https://github.com/alterakey/trueseeing";
48     license = with licenses; [ gpl3Plus ];
49     maintainers = with maintainers; [ fab ];
50   };