python3Packages.pysigma: 0.8.12 -> 0.9.4

This commit is contained in:
Martin Weinelt 2023-02-27 02:14:41 +01:00
parent 3ec0ea029e
commit 2e07d3cd60

View File

@ -2,16 +2,19 @@
, buildPythonPackage
, fetchFromGitHub
, fetchpatch
, packaging
, poetry-core
, pyparsing
, pytestCheckHook
, pythonOlder
, pythonRelaxDepsHook
, pyyaml
, requests
}:
buildPythonPackage rec {
pname = "pysigma";
version = "0.8.12";
version = "0.9.4";
format = "pyproject";
disabled = pythonOlder "3.8";
@ -20,22 +23,35 @@ buildPythonPackage rec {
owner = "SigmaHQ";
repo = "pySigma";
rev = "refs/tags/v${version}";
hash = "sha256-OAhKeAKRT2/A6VO+PxUBi7bkaQVNRT59boyLPGdO+Yw=";
hash = "sha256-mmKTHPCr/m/tsY/EkpkxXk6nqCcbWCK2Y3tQ5NM4NCg=";
};
nativeBuildInputs = [
poetry-core
pythonRelaxDepsHook
];
pythonRelaxDeps = [
"packaging"
];
propagatedBuildInputs = [
packaging
pyparsing
pyyaml
requests
];
nativeCheckInputs = [
pytestCheckHook
];
disabledTests = [
# require network connection
"test_sigma_plugin_directory_default"
"test_sigma_plugin_installation"
];
pythonImportsCheck = [
"sigma"
];