forked from mirrors/nixpkgs
python310Packages.pysigma-backend-elasticsearch: init at 0.1.0
This commit is contained in:
parent
7a08effb26
commit
7c68a4bed4
|
@ -0,0 +1,53 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, poetry-core
|
||||
, pysigma
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, requests
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pysigma-backend-elasticsearch";
|
||||
version = "0.1.0";
|
||||
format = "pyproject";
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "SigmaHQ";
|
||||
repo = "pySigma-backend-elasticsearch";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-BEvYz0jTJifsNBrA4r16JkiFaERDj/zWKd9MbhcuCS8=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
poetry-core
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
pysigma
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
pytestCheckHook
|
||||
requests
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"sigma.backends.elasticsearch"
|
||||
];
|
||||
|
||||
disabledTests = [
|
||||
# Tests requires network access
|
||||
"test_connect_lucene"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Library to support Elasticsearch for pySigma";
|
||||
homepage = "https://github.com/SigmaHQ/pySigma-backend-elasticsearch";
|
||||
license = with licenses; [ lgpl21Only ];
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
|
@ -8196,6 +8196,8 @@ in {
|
|||
|
||||
pysigma = callPackage ../development/python-modules/pysigma { };
|
||||
|
||||
pysigma-backend-elasticsearch = callPackage ../development/python-modules/pysigma-backend-elasticsearch { };
|
||||
|
||||
pysigma-backend-splunk = callPackage ../development/python-modules/pysigma-backend-splunk { };
|
||||
|
||||
pysigma-backend-insightidr = callPackage ../development/python-modules/pysigma-backend-insightidr { };
|
||||
|
|
Loading…
Reference in a new issue