Unverified Commit d728bbd5 authored by Fabian Affolter's avatar Fabian Affolter Committed by GitHub
Browse files

Merge pull request #307272 from fabaff/pysigma-bump

python312Packages.pysigma: 0.11.4 -> 0.11.5 
parents e80af696 7a772ebe
Loading
Loading
Loading
Loading
+21 −25
Original line number Diff line number Diff line
{ 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";