git.iko.soy/typeable/nixpkgs
on master help sign in
python.pkgs.elasticsearch-curator: init at 5.4.1
commit85ee9df0e16935b742dfc6361f2461a31bc05ec7 authorBas van Dijk <v.dijk.bas@gmail.com> dateThu 21 Dec 2017, 22:09 (9 years ago) parentd513afc
2 files changed+67
pkgs/development/python-modules/elasticsearch-curator/default.nix+65 pkgs/top-level/python-packages.nix+2
pkgs/development/python-modules/elasticsearch-curator/default.nixnew file+65
@@ -0,0 +1,65 @@
1+{ stdenv
2+, buildPythonPackage
3+, fetchPypi
4+, click
5+, certifi
6+, voluptuous
7+, pyyaml
8+, elasticsearch
9+, nosexcover
10+, coverage
11+, nose
12+, mock
13+, funcsigs
14+} :
15+
16+buildPythonPackage rec {
17+ pname = "elasticsearch-curator";
18+ version = "5.4.1";
19+ name = "${pname}-${version}";
20+
21+ src = fetchPypi {
22+ inherit pname version;
23+ sha256 = "1bhiqa61h6bbrfp0aygwwchr785x281hnwk8qgnjhb8g4r8ppr3s";
24+ };
25+
26+ # The integration tests require a running elasticsearch cluster.
27+ postUnpackPhase = ''
28+ rm -r test/integration
29+ '';
30+
31+ propagatedBuildInputs = [
32+ click
33+ certifi
34+ voluptuous
35+ pyyaml
36+ elasticsearch
37+ ];
38+
39+ checkInputs = [
40+ nosexcover
41+ coverage
42+ nose
43+ mock
44+ funcsigs
45+ ];
46+
47+ meta = with stdenv.lib; {
48+ homepage = https://github.com/elastic/curator;
49+ description = "Curate, or manage, your Elasticsearch indices and snapshots";
50+ license = licenses.asl20;
51+ longDescription = ''
52+ Elasticsearch Curator helps you curate, or manage, your Elasticsearch
53+ indices and snapshots by:
54+
55+ * Obtaining the full list of indices (or snapshots) from the cluster, as the
56+ actionable list
57+
58+ * Iterate through a list of user-defined filters to progressively remove
59+ indices (or snapshots) from this actionable list as needed.
60+
61+ * Perform various actions on the items which remain in the actionable list.
62+ '';
63+ maintainers = with maintainers; [ basvandijk ];
64+ };
65+}
pkgs/top-level/python-packages.nix+2
@@ -4643,6 +4643,8 @@ in {
46434643 };
46444644 });
46454645
4646+ elasticsearch-curator = callPackage ../development/python-modules/elasticsearch-curator { };
4647+
46464648 entrypoints = callPackage ../development/python-modules/entrypoints { };
46474649
46484650 enzyme = callPackage ../development/python-modules/enzyme {};