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