Merge pull request #280938 from fabaff/pysigma-bump

python311Packages.pysigma: 0.10.10 -> 0.11.0
This commit is contained in:
Fabian Affolter 2024-02-10 17:52:25 +01:00 committed by GitHub
commit 5e1f07704d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
11 changed files with 88 additions and 26 deletions

View file

@ -10,7 +10,7 @@
buildPythonPackage rec {
pname = "pysigma-backend-elasticsearch";
version = "1.0.10";
version = "1.0.12";
pyproject = true;
disabled = pythonOlder "3.8";
@ -19,12 +19,12 @@ buildPythonPackage rec {
owner = "SigmaHQ";
repo = "pySigma-backend-elasticsearch";
rev = "refs/tags/v${version}";
hash = "sha256-oH+47J/7zpJDOAVQ27qIOFtlYfNlzIP6OSp7ogrmdpY=";
hash = "sha256-ibCwTZymgd+VuE4UXbYxUyIbzlpfIdc2zE8Nz/vhBGQ=";
};
postPatch = ''
substituteInPlace pyproject.toml \
--replace " --cov=sigma --cov-report term --cov-report xml:cov.xml" ""
--replace-fail " --cov=sigma --cov-report term --cov-report xml:cov.xml" ""
'';
nativeBuildInputs = [

View file

@ -6,13 +6,14 @@
, pysigma-backend-elasticsearch
, pytestCheckHook
, pythonOlder
, pythonRelaxDepsHook
, requests
}:
buildPythonPackage rec {
pname = "pysigma-backend-opensearch";
version = "1.0.1";
format = "pyproject";
pyproject = true;
disabled = pythonOlder "3.8";
@ -25,11 +26,16 @@ buildPythonPackage rec {
postPatch = ''
substituteInPlace pyproject.toml \
--replace " --cov=sigma --cov-report term --cov-report xml:cov.xml" ""
--replace-fail " --cov=sigma --cov-report term --cov-report xml:cov.xml" ""
'';
pythonRelaxDeps = [
"pysigma"
];
nativeBuildInputs = [
poetry-core
pythonRelaxDepsHook
];
propagatedBuildInputs = [

View file

@ -6,6 +6,7 @@
, pysigma-pipeline-sysmon
, pytestCheckHook
, pythonOlder
, pythonRelaxDepsHook
, requests
}:
@ -23,8 +24,13 @@ buildPythonPackage rec {
hash = "sha256-VymaxX+iqrRlf+WEt4xqEvNt5kg8xI5O/MoYahayu0o=";
};
pythonRelaxDeps = [
"pysigma"
];
nativeBuildInputs = [
poetry-core
pythonRelaxDepsHook
];
propagatedBuildInputs = [
@ -36,11 +42,6 @@ buildPythonPackage rec {
pytestCheckHook
];
postPatch = ''
substituteInPlace pyproject.toml \
--replace 'pysigma = "^0.7.2"' 'pysigma = "*"'
'';
pythonImportsCheck = [
"sigma.backends.qradar"
];

View file

@ -10,8 +10,8 @@
buildPythonPackage rec {
pname = "pysigma-backend-splunk";
version = "1.0.3";
format = "pyproject";
version = "1.1.0";
pyproject = true;
disabled = pythonOlder "3.8";
@ -19,7 +19,7 @@ buildPythonPackage rec {
owner = "SigmaHQ";
repo = "pySigma-backend-splunk";
rev = "refs/tags/v${version}";
hash = "sha256-ZDRHCzNLwBx8cugNVSkk7lZhE7MzariX0OS4pHv0f1s=";
hash = "sha256-PRJmFXVjcvXVHITwp6ESSoizmJOSiLTl1mj67rNhSNw=";
};
nativeBuildInputs = [
@ -42,6 +42,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "Library to support Splunk for pySigma";
homepage = "https://github.com/SigmaHQ/pySigma-backend-splunk";
changelog = "https://github.com/SigmaHQ/pySigma-backend-splunk/releases/tag/v${version}";
license = with licenses; [ lgpl21Only ];
maintainers = with maintainers; [ fab ];
};

View file

@ -0,0 +1,49 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, poetry-core
, pysigma
, pytestCheckHook
, pythonOlder
, requests
}:
buildPythonPackage rec {
pname = "pysigma-backend-sqlite";
version = "0.1.2";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "SigmaHQ";
repo = "pySigma-backend-sqlite";
rev = "refs/tags/v${version}";
hash = "sha256-wbFSgtsiP5k1aGJx8PWDl0N28r0dgn6Fduk0PuM8x3w=";
};
nativeBuildInputs = [
poetry-core
];
propagatedBuildInputs = [
pysigma
];
nativeCheckInputs = [
pytestCheckHook
requests
];
pythonImportsCheck = [
"sigma.backends.sqlite"
];
meta = with lib; {
description = "Library to support sqlite for pySigma";
homepage = "https://github.com/SigmaHQ/pySigma-backend-sqlite";
changelog = "https://github.com/SigmaHQ/pySigma-backend-sqlite/releases/tag/v${version}";
license = with licenses; [ lgpl3Only ];
maintainers = with maintainers; [ fab ];
};
}

View file

@ -9,8 +9,8 @@
buildPythonPackage rec {
pname = "pysigma-pipeline-crowdstrike";
version = "1.0.2";
format = "pyproject";
version = "1.0.3";
pyproject = true;
disabled = pythonOlder "3.8";
@ -18,7 +18,7 @@ buildPythonPackage rec {
owner = "SigmaHQ";
repo = "pySigma-pipeline-crowdstrike";
rev = "refs/tags/v${version}";
hash = "sha256-kopZ4bbWX0HNrqos9XO/DfbdExlgZcDLEsUpOBumvBA=";
hash = "sha256-0uSoZC2cUgdOGE5saLlx5n0gbVPX61kkASCBFD4F5QM=";
};
nativeBuildInputs = [
@ -40,6 +40,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "Library to support CrowdStrike pipeline for pySigma";
homepage = "https://github.com/SigmaHQ/pySigma-pipeline-crowdstrike";
changelog = "https://github.com/SigmaHQ/pySigma-pipeline-crowdstrike/releases/tag/v${version}";
license = with licenses; [ lgpl21Only ];
maintainers = with maintainers; [ fab ];
};

View file

@ -9,8 +9,8 @@
buildPythonPackage rec {
pname = "pysigma-pipeline-sysmon";
version = "1.0.3";
format = "pyproject";
version = "1.0.4";
pyproject = true;
disabled = pythonOlder "3.8";
@ -18,7 +18,7 @@ buildPythonPackage rec {
owner = "SigmaHQ";
repo = "pySigma-pipeline-sysmon";
rev = "refs/tags/v${version}";
hash = "sha256-5CDwevzD6R1nIcID6C5PV+i6pwY2CLakRC6NUXtmPs8=";
hash = "sha256-/WBHu1pFEiVPJQ97xEwjJJ92h9kHzTBPgmfQrR+RZjA=";
};
nativeBuildInputs = [
@ -40,6 +40,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "Library to support Sysmon pipeline for pySigma";
homepage = "https://github.com/SigmaHQ/pySigma-pipeline-sysmon";
changelog = "https://github.com/SigmaHQ/pySigma-pipeline-sysmon/releases/tag/v${version}";
license = with licenses; [ lgpl21Only ];
maintainers = with maintainers; [ fab ];
};

View file

@ -9,7 +9,7 @@
buildPythonPackage rec {
pname = "pysigma-pipeline-windows";
version = "1.1.1";
version = "1.2.0";
format = "pyproject";
disabled = pythonOlder "3.8";
@ -18,7 +18,7 @@ buildPythonPackage rec {
owner = "SigmaHQ";
repo = "pySigma-pipeline-windows";
rev = "refs/tags/v${version}";
hash = "sha256-279+nP5IeZiIjKNhJ2adbcJSDzcu7yqIB5JNFK5CPF0=";
hash = "sha256-Ss0OMd8urCYQUlvsm/m8Kz0jY4pVSEoZuLxs1JLWxQA=";
};
nativeBuildInputs = [

View file

@ -15,8 +15,8 @@
buildPythonPackage rec {
pname = "pysigma";
version = "0.10.10";
format = "pyproject";
version = "0.11.3";
pyproject = true;
disabled = pythonOlder "3.8";
@ -24,10 +24,11 @@ buildPythonPackage rec {
owner = "SigmaHQ";
repo = "pySigma";
rev = "refs/tags/v${version}";
hash = "sha256-QudaAZOxUXLUMMx10gEpWcaI+2ewpkNZOGUDEbxChg0=";
hash = "sha256-G3/ksQXAN981i8iZC8/Ho0r/iHQqqtBPg/VdDTWxC9Y=";
};
pythonRelaxDeps = [
"jinja2"
"packaging"
];

View file

@ -5,14 +5,14 @@
python3.pkgs.buildPythonApplication rec {
pname = "sigma-cli";
version = "0.7.11";
version = "1.0.0";
pyproject = true;
src = fetchFromGitHub {
owner = "SigmaHQ";
repo = "sigma-cli";
rev = "refs/tags/v${version}";
hash = "sha256-cNrI+YWwLK9sgvVYPOcTXW29omVRqnhh/458FuaoODo=";
hash = "sha256-TVsWGExs4diHoAhfbUs2q9Dh9xVr8WyDRMRhhAFpB8A=";
};
postPatch = ''

View file

@ -11328,6 +11328,8 @@ self: super: with self; {
pysigma-backend-splunk = callPackage ../development/python-modules/pysigma-backend-splunk { };
pysigma-backend-sqlite = callPackage ../development/python-modules/pysigma-backend-sqlite { };
pysigma-backend-insightidr = callPackage ../development/python-modules/pysigma-backend-insightidr { };
pysigma-pipeline-crowdstrike = callPackage ../development/python-modules/pysigma-pipeline-crowdstrike { };