python3Packages.orjson: Disable failing tests on 32 bit
[NixPkgs.git] / pkgs / tools / security / stacs / default.nix
blob352c217b76a4bd8a55e2544d58184a2449ea2fff
1 { lib
2 , fetchFromGitHub
3 , python3
4 }:
6 python3.pkgs.buildPythonApplication rec {
7   pname = "stacs";
8   version = "0.2.0";
10   src = fetchFromGitHub {
11     owner = "stacscan";
12     repo = pname;
13     rev = version;
14     sha256 = "00ZYdpJktqUXdzPcouHyZcOQyFm7jdFNVuDqsufOviE=";
15   };
17   nativeBuildInputs = with python3.pkgs; [
18     setupmeta
19   ];
21   propagatedBuildInputs = with python3.pkgs; [
22     click
23     pydantic
24     typing-extensions
25     yara-python
26   ];
28   checkInputs = with python3.pkgs; [
29     pytestCheckHook
30   ];
32   pythonImportsCheck = [
33     "stacs"
34   ];
36   meta = with lib; {
37     description = "Static token and credential scanner";
38     homepage = "https://github.com/stacscan/stacs";
39     license = with licenses; [ bsd3 ];
40     maintainers = with maintainers; [ fab ];
41   };