diff --git a/pkgs/development/python-modules/pysigma/default.nix b/pkgs/development/python-modules/pysigma/default.nix index bf7a00dd8fe1..5816b43926ac 100644 --- a/pkgs/development/python-modules/pysigma/default.nix +++ b/pkgs/development/python-modules/pysigma/default.nix @@ -1,21 +1,22 @@ -{ lib -, buildPythonPackage -, fetchFromGitHub -, fetchpatch -, jinja2 -, packaging -, poetry-core -, pyparsing -, pytestCheckHook -, pythonOlder -, pythonRelaxDepsHook -, pyyaml -, requests +{ + lib, + buildPythonPackage, + fetchFromGitHub, + fetchpatch, + jinja2, + packaging, + poetry-core, + pyparsing, + pytestCheckHook, + pythonOlder, + pythonRelaxDepsHook, + pyyaml, + requests, }: buildPythonPackage rec { pname = "pysigma"; - version = "0.11.4"; + version = "0.11.5"; pyproject = true; disabled = pythonOlder "3.8"; @@ -24,7 +25,7 @@ buildPythonPackage rec { owner = "SigmaHQ"; repo = "pySigma"; rev = "refs/tags/v${version}"; - hash = "sha256-tlFrUAwOTK+O/YJjfA6nwsVAcZrMNXFmCYoxHc2ykVY="; + hash = "sha256-Mr4etI6VNPWDVZj4A9j3Ka9v+BpFC75MLXppYELIWrg="; }; pythonRelaxDeps = [ @@ -32,10 +33,9 @@ buildPythonPackage rec { "packaging" ]; - build-system = [ - poetry-core - pythonRelaxDepsHook - ]; + build-system = [ poetry-core ]; + + nativeBuildInputs = [ pythonRelaxDepsHook ]; dependencies = [ jinja2 @@ -45,9 +45,7 @@ buildPythonPackage rec { requests ]; - nativeCheckInputs = [ - pytestCheckHook - ]; + nativeCheckInputs = [ pytestCheckHook ]; disabledTests = [ # Tests require network connection @@ -55,9 +53,7 @@ buildPythonPackage rec { "test_sigma_plugin_installation" ]; - pythonImportsCheck = [ - "sigma" - ]; + pythonImportsCheck = [ "sigma" ]; meta = with lib; { description = "Library to parse and convert Sigma rules into queries";