Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.3 kB · 68 lines
Nix
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869{ lib, buildPythonPackage, fetchFromGitHub, fetchpatch, jinja2, packaging, poetry-core, pyparsing, pytestCheckHook, pythonOlder, pythonRelaxDepsHook, pyyaml, requests}:
buildPythonPackage rec { pname = "pysigma"; version = "0.10.10"; format = "pyproject";
disabled = pythonOlder "3.8";
src = fetchFromGitHub { owner = "SigmaHQ"; repo = "pySigma"; rev = "refs/tags/v${version}"; hash = "sha256-QudaAZOxUXLUMMx10gEpWcaI+2ewpkNZOGUDEbxChg0="; };
pythonRelaxDeps = [ "packaging" ];
nativeBuildInputs = [ poetry-core pythonRelaxDepsHook ];
propagatedBuildInputs = [ jinja2 packaging pyparsing pyyaml requests ];
nativeCheckInputs = [ pytestCheckHook ];
disabledTests = [ # Tests require network connection "test_sigma_plugin_directory_default" "test_sigma_plugin_installation" ];
pythonImportsCheck = [ "sigma" ];
meta = with lib; { description = "Library to parse and convert Sigma rules into queries"; homepage = "https://github.com/SigmaHQ/pySigma"; changelog = "https://github.com/SigmaHQ/pySigma/releases/tag/v${version}"; license = with licenses; [ lgpl21Only ]; maintainers = with maintainers; [ fab ]; };}