Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / pysigma-backend-insightidr / default.nix
blob1fef60d8acf5141a3864807e88f5c0fa7a143feb
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , poetry-core
5 , pysigma
6 , pytestCheckHook
7 , pythonOlder
8 , pythonRelaxDepsHook
9 }:
11 buildPythonPackage rec {
12   pname = "pysigma-backend-insightidr";
13   version = "0.2.2";
14   format = "pyproject";
16   disabled = pythonOlder "3.8";
18   src = fetchFromGitHub {
19     owner = "SigmaHQ";
20     repo = "pySigma-backend-insightidr";
21     rev = "refs/tags/v${version}";
22     hash = "sha256-B42MADteF0+GC/CPJPLaTGdGcQjC8KEsK9u3tBmtObg=";
23   };
25   nativeBuildInputs = [
26     poetry-core
27     pythonRelaxDepsHook
28   ];
30   propagatedBuildInputs = [
31     pysigma
32   ];
34   pythonRelaxDeps = [
35     "pysigma"
36   ];
38   nativeCheckInputs = [
39     pytestCheckHook
40   ];
42   pythonImportsCheck = [
43     "sigma.backends.insight_idr"
44     "sigma.pipelines.insight_idr"
45   ];
47   meta = with lib; {
48     description = "Library to support the Rapid7 InsightIDR backend for pySigma";
49     homepage = "https://github.com/SigmaHQ/pySigma-backend-insightidr";
50     license = with licenses; [ lgpl21Only ];
51     maintainers = with maintainers; [ fab ];
52   };