evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / by-name / io / ioc-scan / package.nix
blob4b7c81119c5d428e40c7a0b8cb6ad3e0ab3fe57c
1 { lib
2 , fetchFromGitHub
3 , python3
4 }:
6 python3.pkgs.buildPythonApplication rec {
7   pname = "ioc-scan";
8   version = "2.0.0";
9   pyproject = true;
11   src = fetchFromGitHub {
12     owner = "cisagov";
13     repo = "ioc-scanner";
14     rev = "refs/tags/v${version}";
15     hash = "sha256-SCyCANZfi7PqexM2Kc8WJwwEEiBQxPBg0ggWsK9WB4k=";
16   };
18   build-system = with python3.pkgs; [ setuptools ];
20   propagatedBuildInputs = with python3.pkgs; [ docopt];
22   nativeCheckInputs = with python3.pkgs; [
23     pyfakefs
24     pytest-cov-stub
25     pytestCheckHook
26   ];
28   pythonImportsCheck = [ "ioc_scan" ];
30   meta = with lib; {
31     description = "Tool to search a filesystem for indicators of compromise (IoC)";
32     homepage = "https://github.com/cisagov/ioc-scanner";
33     changelog = "https://github.com/cisagov/ioc-scanner/releases/tag/v${version}";
34     license = with licenses; [ cc0 ];
35     maintainers = with maintainers; [ fab ];
36   };