nixpkgs/pkgs/development/python-modules/pysigma-pipeline-sysmon/default.nix

47 lines
897 B
Nix

{ lib
, buildPythonPackage
, fetchFromGitHub
, poetry-core
, pysigma
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "pysigma-pipeline-sysmon";
version = "1.0.3";
format = "pyproject";
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "SigmaHQ";
repo = "pySigma-pipeline-sysmon";
rev = "refs/tags/v${version}";
hash = "sha256-5CDwevzD6R1nIcID6C5PV+i6pwY2CLakRC6NUXtmPs8=";
};
nativeBuildInputs = [
poetry-core
];
propagatedBuildInputs = [
pysigma
];
nativeCheckInputs = [
pytestCheckHook
];
pythonImportsCheck = [
"sigma.pipelines.sysmon"
];
meta = with lib; {
description = "Library to support Sysmon pipeline for pySigma";
homepage = "https://github.com/SigmaHQ/pySigma-pipeline-sysmon";
license = with licenses; [ lgpl21Only ];
maintainers = with maintainers; [ fab ];
};
}