python.pkgs.elasticsearch-curator: init at 5.4.1

This commit is contained in:
Bas van Dijk 2017-12-21 22:09:41 +01:00 committed by Orivej Desh
parent d513afcfc7
commit 85ee9df0e1
2 changed files with 67 additions and 0 deletions

View File

@ -0,0 +1,65 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, click
, certifi
, voluptuous
, pyyaml
, elasticsearch
, nosexcover
, coverage
, nose
, mock
, funcsigs
} :
buildPythonPackage rec {
pname = "elasticsearch-curator";
version = "5.4.1";
name = "${pname}-${version}";
src = fetchPypi {
inherit pname version;
sha256 = "1bhiqa61h6bbrfp0aygwwchr785x281hnwk8qgnjhb8g4r8ppr3s";
};
# The integration tests require a running elasticsearch cluster.
postUnpackPhase = ''
rm -r test/integration
'';
propagatedBuildInputs = [
click
certifi
voluptuous
pyyaml
elasticsearch
];
checkInputs = [
nosexcover
coverage
nose
mock
funcsigs
];
meta = with stdenv.lib; {
homepage = https://github.com/elastic/curator;
description = "Curate, or manage, your Elasticsearch indices and snapshots";
license = licenses.asl20;
longDescription = ''
Elasticsearch Curator helps you curate, or manage, your Elasticsearch
indices and snapshots by:
* Obtaining the full list of indices (or snapshots) from the cluster, as the
actionable list
* Iterate through a list of user-defined filters to progressively remove
indices (or snapshots) from this actionable list as needed.
* Perform various actions on the items which remain in the actionable list.
'';
maintainers = with maintainers; [ basvandijk ];
};
}

View File

@ -4643,6 +4643,8 @@ in {
};
});
elasticsearch-curator = callPackage ../development/python-modules/elasticsearch-curator { };
entrypoints = callPackage ../development/python-modules/entrypoints { };
enzyme = callPackage ../development/python-modules/enzyme {};