depot/third_party/nixpkgs/pkgs/development/python-modules/pysigma-backend-qradar/default.nix
Default email 02cf88bb76 Project import generated by Copybara.
GitOrigin-RevId: c4a0efdd5a728e20791b8d8d2f26f90ac228ee8d
2022-08-12 15:06:08 +03:00

49 lines
939 B
Nix

{ lib
, buildPythonPackage
, fetchFromGitHub
, poetry-core
, pysigma
, pysigma-pipeline-sysmon
, pytestCheckHook
, pythonOlder
, requests
}:
buildPythonPackage rec {
pname = "pysigma-backend-qradar";
version = "0.1.9";
format = "pyproject";
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "nNipsx-Sec";
repo = "pySigma-backend-qradar";
rev = "v${version}";
hash = "sha256-b3e8cVrVFZgihhEk6QlUnRZigglczHUa/XeMvMzNYLk=";
};
nativeBuildInputs = [
poetry-core
];
propagatedBuildInputs = [
pysigma
];
checkInputs = [
pysigma-pipeline-sysmon
pytestCheckHook
];
pythonImportsCheck = [
"sigma.backends.qradar"
];
meta = with lib; {
description = "Library to support Qradar for pySigma";
homepage = "https://github.com/nNipsx-Sec/pySigma-backend-qradar";
license = with licenses; [ lgpl21Only ];
maintainers = with maintainers; [ fab ];
};
}