Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / pysigma-pipeline-sysmon / default.nix
blob9b02a38cb18b78c4a8f2b80c07a40a5cbb4135a0
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , poetry-core
5 , pysigma
6 , pytestCheckHook
7 , pythonOlder
8 }:
10 buildPythonPackage rec {
11   pname = "pysigma-pipeline-sysmon";
12   version = "1.0.3";
13   format = "pyproject";
15   disabled = pythonOlder "3.8";
17   src = fetchFromGitHub {
18     owner = "SigmaHQ";
19     repo = "pySigma-pipeline-sysmon";
20     rev = "refs/tags/v${version}";
21     hash = "sha256-5CDwevzD6R1nIcID6C5PV+i6pwY2CLakRC6NUXtmPs8=";
22   };
24   nativeBuildInputs = [
25     poetry-core
26   ];
28   propagatedBuildInputs = [
29     pysigma
30   ];
32   nativeCheckInputs = [
33     pytestCheckHook
34   ];
36   pythonImportsCheck = [
37     "sigma.pipelines.sysmon"
38   ];
40   meta = with lib; {
41     description = "Library to support Sysmon pipeline for pySigma";
42     homepage = "https://github.com/SigmaHQ/pySigma-pipeline-sysmon";
43     license = with licenses; [ lgpl21Only ];
44     maintainers = with maintainers; [ fab ];
45   };