15 buildPythonPackage rec {
20 disabled = pythonOlder "3.8";
22 src = fetchFromGitHub {
26 hash = "sha256-AbGmDDJUBvGwZixNKY+iLTKUENSAXHOAdztmbIQIEKs=";
34 build-system = [ poetry-core ];
44 nativeCheckInputs = [ pytestCheckHook ];
47 # Tests require network connection
48 "test_sigma_plugin_directory_default"
49 "test_sigma_plugin_installation"
52 pythonImportsCheck = [ "sigma" ];
55 description = "Library to parse and convert Sigma rules into queries";
56 homepage = "https://github.com/SigmaHQ/pySigma";
57 changelog = "https://github.com/SigmaHQ/pySigma/releases/tag/v${version}";
58 license = with licenses; [ lgpl21Only ];
59 maintainers = with maintainers; [ fab ];