Merge pull request #32905 from LumiGuide/elasticsearch-curator-5.4.1
elasticsearch-curator: init at 5.4.1
This commit is contained in:
commit
fa2f609c7e
@ -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 ];
|
||||||
|
};
|
||||||
|
}
|
20
pkgs/development/python-modules/voluptuous/default.nix
Normal file
20
pkgs/development/python-modules/voluptuous/default.nix
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
{ stdenv, buildPythonPackage, fetchPypi, nose }:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "voluptuous";
|
||||||
|
version = "0.10.5";
|
||||||
|
name = "${pname}-${version}";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "15i3gaap8ilhpbah1ffc6q415wkvliqxilc6s69a4rinvkw6cx3s";
|
||||||
|
};
|
||||||
|
|
||||||
|
checkInputs = [ nose ];
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "Voluptuous is a Python data validation library";
|
||||||
|
homepage = http://alecthomas.github.io/voluptuous/;
|
||||||
|
license = licenses.bsd3;
|
||||||
|
};
|
||||||
|
}
|
@ -4598,11 +4598,13 @@ in {
|
|||||||
edward = callPackage ../development/python-modules/edward { };
|
edward = callPackage ../development/python-modules/edward { };
|
||||||
|
|
||||||
elasticsearch = buildPythonPackage (rec {
|
elasticsearch = buildPythonPackage (rec {
|
||||||
name = "elasticsearch-1.9.0";
|
pname = "elasticsearch";
|
||||||
|
version = "6.0.0";
|
||||||
|
name = "${pname}-${version}";
|
||||||
|
|
||||||
src = pkgs.fetchurl {
|
src = fetchPypi {
|
||||||
url = "mirror://pypi/e/elasticsearch/${name}.tar.gz";
|
inherit pname version;
|
||||||
sha256 = "091s60ziwhyl9kjfm833i86rcpjx46v9h16jkgjgkk5441dln3gb";
|
sha256 = "029q603g95fzkh87xkbxxmjfq5s9xkr9y27nfik6d4prsl0zxmlz";
|
||||||
};
|
};
|
||||||
|
|
||||||
# Check is disabled because running them destroy the content of the local cluster!
|
# Check is disabled because running them destroy the content of the local cluster!
|
||||||
@ -4619,7 +4621,6 @@ in {
|
|||||||
};
|
};
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
elasticsearchdsl = buildPythonPackage (rec {
|
elasticsearchdsl = buildPythonPackage (rec {
|
||||||
name = "elasticsearch-dsl-0.0.9";
|
name = "elasticsearch-dsl-0.0.9";
|
||||||
|
|
||||||
@ -4642,6 +4643,8 @@ in {
|
|||||||
};
|
};
|
||||||
});
|
});
|
||||||
|
|
||||||
|
elasticsearch-curator = callPackage ../development/python-modules/elasticsearch-curator { };
|
||||||
|
|
||||||
entrypoints = callPackage ../development/python-modules/entrypoints { };
|
entrypoints = callPackage ../development/python-modules/entrypoints { };
|
||||||
|
|
||||||
enzyme = callPackage ../development/python-modules/enzyme {};
|
enzyme = callPackage ../development/python-modules/enzyme {};
|
||||||
@ -14328,26 +14331,6 @@ in {
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
pyelasticsearch = buildPythonPackage (rec {
|
|
||||||
name = "pyelasticsearch-1.4";
|
|
||||||
|
|
||||||
src = pkgs.fetchurl {
|
|
||||||
url = "mirror://pypi/p/pyelasticsearch/${name}.tar.gz";
|
|
||||||
sha256 = "18wp6llfjv6hvyhr3f6i8dm9wc5rf46wiqsfxwpvnf6mdrvk6xr7";
|
|
||||||
};
|
|
||||||
|
|
||||||
# Tests require a local instance of elasticsearch
|
|
||||||
doCheck = false;
|
|
||||||
propagatedBuildInputs = with self; [ elasticsearch six simplejson certifi ];
|
|
||||||
buildInputs = with self; [ nose mock ];
|
|
||||||
|
|
||||||
meta = {
|
|
||||||
description = "A clean, future-proof, high-scale API to elasticsearch";
|
|
||||||
homepage = https://pyelasticsearch.readthedocs.org;
|
|
||||||
license = licenses.bsd3;
|
|
||||||
};
|
|
||||||
});
|
|
||||||
|
|
||||||
pyelftools = buildPythonPackage rec {
|
pyelftools = buildPythonPackage rec {
|
||||||
pname = "pyelftools";
|
pname = "pyelftools";
|
||||||
version = "0.24";
|
version = "0.24";
|
||||||
@ -23290,6 +23273,7 @@ EOF
|
|||||||
|
|
||||||
ephem = callPackage ../development/python-modules/ephem { };
|
ephem = callPackage ../development/python-modules/ephem { };
|
||||||
|
|
||||||
|
voluptuous = callPackage ../development/python-modules/voluptuous { };
|
||||||
});
|
});
|
||||||
|
|
||||||
in fix' (extends overrides packages)
|
in fix' (extends overrides packages)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user