stacs: init at 0.2.0

main
Fabian Affolter 3 years ago
parent 44bd0265ba
commit 3aa5d80be9
  1. 42
      pkgs/tools/security/stacs/default.nix
  2. 2
      pkgs/top-level/all-packages.nix

@ -0,0 +1,42 @@
{ lib
, fetchFromGitHub
, python3
}:
python3.pkgs.buildPythonApplication rec {
pname = "stacs";
version = "0.2.0";
src = fetchFromGitHub {
owner = "stacscan";
repo = pname;
rev = version;
sha256 = "00ZYdpJktqUXdzPcouHyZcOQyFm7jdFNVuDqsufOviE=";
};
nativeBuildInputs = with python3.pkgs; [
setupmeta
];
propagatedBuildInputs = with python3.pkgs; [
click
pydantic
typing-extensions
yara-python
];
checkInputs = with python3.pkgs; [
pytestCheckHook
];
pythonImportsCheck = [
"stacs"
];
meta = with lib; {
description = "Static token and credential scanner";
homepage = "https://github.com/stacscan/stacs";
license = with licenses; [ bsd3 ];
maintainers = with maintainers; [ fab ];
};
}

@ -3543,6 +3543,8 @@ with pkgs;
ssmsh = callPackage ../tools/admin/ssmsh { };
stacs = callPackage ../tools/security/stacs { };
stagit = callPackage ../development/tools/stagit { };
starboard = callPackage ../applications/networking/cluster/starboard { };

Loading…
Cancel
Save