nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at r-updates 37 lines 888 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 poetry-core, 6 pysigma, 7 pytestCheckHook, 8}: 9 10buildPythonPackage rec { 11 pname = "pysigma-pipeline-sysmon"; 12 version = "2.0.0"; 13 pyproject = true; 14 15 src = fetchFromGitHub { 16 owner = "SigmaHQ"; 17 repo = "pySigma-pipeline-sysmon"; 18 tag = "v${version}"; 19 hash = "sha256-W0KNsawcJ1XmQ2Tmh+aD8EUL2LenCQUEUgx9shQhRDQ="; 20 }; 21 22 build-system = [ poetry-core ]; 23 24 dependencies = [ pysigma ]; 25 26 nativeCheckInputs = [ pytestCheckHook ]; 27 28 pythonImportsCheck = [ "sigma.pipelines.sysmon" ]; 29 30 meta = { 31 description = "Library to support Sysmon pipeline for pySigma"; 32 homepage = "https://github.com/SigmaHQ/pySigma-pipeline-sysmon"; 33 changelog = "https://github.com/SigmaHQ/pySigma-pipeline-sysmon/releases/tag/${src.tag}"; 34 license = lib.licenses.lgpl21Only; 35 maintainers = with lib.maintainers; [ fab ]; 36 }; 37}