sigma-cli: 0.5.3 -> 0.7.2
Diff: https://github.com/SigmaHQ/sigma-cli/compare/refs/tags/v0.7.2...v0.7.2
This commit is contained in:
parent
5586e0dd14
commit
e7a73d03f5
1 changed files with 16 additions and 6 deletions
|
@ -5,22 +5,28 @@
|
|||
|
||||
python3.pkgs.buildPythonApplication rec {
|
||||
pname = "sigma-cli";
|
||||
version = "0.5.3";
|
||||
version = "0.7.2";
|
||||
format = "pyproject";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "SigmaHQ";
|
||||
repo = pname;
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-orJkWVBZnbhRjYDI6s5fPymzpTmZE5MsmYWp3JOKjnU=";
|
||||
hash = "sha256-yzo/BotNzTBjdkaXI1lHntpI5AyW5AbpFu3XtkWpHU4=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace pyproject.toml \
|
||||
--replace '= "^' '= ">='
|
||||
'';
|
||||
|
||||
nativeBuildInputs = with python3.pkgs; [
|
||||
poetry-core
|
||||
];
|
||||
|
||||
propagatedBuildInputs = with python3.pkgs; [
|
||||
click
|
||||
colorama
|
||||
prettytable
|
||||
pysigma
|
||||
pysigma-backend-elasticsearch
|
||||
|
@ -37,10 +43,14 @@ python3.pkgs.buildPythonApplication rec {
|
|||
pytestCheckHook
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace pyproject.toml \
|
||||
--replace '= "^' '= ">='
|
||||
'';
|
||||
disabledTests = [
|
||||
"test_plugin_list"
|
||||
"test_plugin_list_filtered"
|
||||
"test_plugin_list_search"
|
||||
"test_plugin_install_notexisting"
|
||||
"test_plugin_install"
|
||||
"test_plugin_uninstall"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"sigma.cli"
|
||||
|
|
Loading…
Reference in a new issue