fork
Configure Feed
Select the types of activity you want to include in your feed.
nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
fork
Configure Feed
Select the types of activity you want to include in your feed.
1{
2 lib,
3 fetchFromGitHub,
4 python3,
5}:
6
7python3.pkgs.buildPythonApplication rec {
8 pname = "ioc-scan";
9 version = "3.0.0";
10 pyproject = true;
11
12 src = fetchFromGitHub {
13 owner = "cisagov";
14 repo = "ioc-scanner";
15 tag = "v${version}";
16 hash = "sha256-p1cx6MwAPmPIsOHNWSU9AyYcQaddFugBkm6a+kUjzvg=";
17 };
18
19 build-system = with python3.pkgs; [ setuptools ];
20
21 propagatedBuildInputs = with python3.pkgs; [ docopt ];
22
23 nativeCheckInputs = with python3.pkgs; [
24 pyfakefs
25 pytest-cov-stub
26 pytestCheckHook
27 ];
28
29 pythonImportsCheck = [ "ioc_scan" ];
30
31 meta = with lib; {
32 description = "Tool to search a filesystem for indicators of compromise (IoC)";
33 homepage = "https://github.com/cisagov/ioc-scanner";
34 changelog = "https://github.com/cisagov/ioc-scanner/releases/tag/${src.tag}";
35 license = with licenses; [ cc0 ];
36 maintainers = with maintainers; [ fab ];
37 };
38}