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