1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 poetry-core, 6 pysigma, 7 pytestCheckHook, 8 pythonOlder, 9}: 10 11buildPythonPackage rec { 12 pname = "pysigma-pipeline-sysmon"; 13 version = "1.0.4"; 14 pyproject = true; 15 16 disabled = pythonOlder "3.8"; 17 18 src = fetchFromGitHub { 19 owner = "SigmaHQ"; 20 repo = "pySigma-pipeline-sysmon"; 21 tag = "v${version}"; 22 hash = "sha256-/WBHu1pFEiVPJQ97xEwjJJ92h9kHzTBPgmfQrR+RZjA="; 23 }; 24 25 nativeBuildInputs = [ poetry-core ]; 26 27 propagatedBuildInputs = [ pysigma ]; 28 29 nativeCheckInputs = [ pytestCheckHook ]; 30 31 pythonImportsCheck = [ "sigma.pipelines.sysmon" ]; 32 33 meta = with lib; { 34 description = "Library to support Sysmon pipeline for pySigma"; 35 homepage = "https://github.com/SigmaHQ/pySigma-pipeline-sysmon"; 36 changelog = "https://github.com/SigmaHQ/pySigma-pipeline-sysmon/releases/tag/v${version}"; 37 license = with licenses; [ lgpl21Only ]; 38 maintainers = with maintainers; [ fab ]; 39 }; 40}