tmuxPlugins.catppucin: unstable-2024-05-16 -> 2.1.2 (#379030)
[NixPkgs.git] / pkgs / by-name / st / stacs / package.nix
blob7cc6c87151c0e583860d273815f70fb8d126c83a
2   lib,
3   fetchFromGitHub,
4   python3,
5 }:
7 python3.pkgs.buildPythonApplication rec {
8   pname = "stacs";
9   version = "0.2.0";
11   src = fetchFromGitHub {
12     owner = "stacscan";
13     repo = pname;
14     rev = version;
15     sha256 = "00ZYdpJktqUXdzPcouHyZcOQyFm7jdFNVuDqsufOviE=";
16   };
18   nativeBuildInputs = with python3.pkgs; [
19     setupmeta
20   ];
22   propagatedBuildInputs = with python3.pkgs; [
23     click
24     pydantic_1
25     typing-extensions
26     yara-python
27   ];
29   nativeCheckInputs = with python3.pkgs; [
30     pytestCheckHook
31   ];
33   pythonImportsCheck = [
34     "stacs"
35   ];
37   meta = with lib; {
38     description = "Static token and credential scanner";
39     mainProgram = "stacs";
40     homepage = "https://github.com/stacscan/stacs";
41     license = with licenses; [ bsd3 ];
42     maintainers = with maintainers; [ fab ];
43   };