Merge pull request #32905 from LumiGuide/elasticsearch-curator-5.4.1

elasticsearch-curator: init at 5.4.1

authored by Orivej Desh and committed by GitHub fa2f609c fc99ee5c

+94 -25
+65
pkgs/development/python-modules/elasticsearch-curator/default.nix
··· 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 + }
+20
pkgs/development/python-modules/voluptuous/default.nix
··· 1 + { stdenv, buildPythonPackage, fetchPypi, nose }: 2 + 3 + buildPythonPackage rec { 4 + pname = "voluptuous"; 5 + version = "0.10.5"; 6 + name = "${pname}-${version}"; 7 + 8 + src = fetchPypi { 9 + inherit pname version; 10 + sha256 = "15i3gaap8ilhpbah1ffc6q415wkvliqxilc6s69a4rinvkw6cx3s"; 11 + }; 12 + 13 + checkInputs = [ nose ]; 14 + 15 + meta = with stdenv.lib; { 16 + description = "Voluptuous is a Python data validation library"; 17 + homepage = http://alecthomas.github.io/voluptuous/; 18 + license = licenses.bsd3; 19 + }; 20 + }
+9 -25
pkgs/top-level/python-packages.nix
··· 4598 4598 edward = callPackage ../development/python-modules/edward { }; 4599 4599 4600 4600 elasticsearch = buildPythonPackage (rec { 4601 - name = "elasticsearch-1.9.0"; 4601 + pname = "elasticsearch"; 4602 + version = "6.0.0"; 4603 + name = "${pname}-${version}"; 4602 4604 4603 - src = pkgs.fetchurl { 4604 - url = "mirror://pypi/e/elasticsearch/${name}.tar.gz"; 4605 - sha256 = "091s60ziwhyl9kjfm833i86rcpjx46v9h16jkgjgkk5441dln3gb"; 4605 + src = fetchPypi { 4606 + inherit pname version; 4607 + sha256 = "029q603g95fzkh87xkbxxmjfq5s9xkr9y27nfik6d4prsl0zxmlz"; 4606 4608 }; 4607 4609 4608 4610 # Check is disabled because running them destroy the content of the local cluster! ··· 4618 4620 maintainers = with maintainers; [ desiderius ]; 4619 4621 }; 4620 4622 }); 4621 - 4622 4623 4623 4624 elasticsearchdsl = buildPythonPackage (rec { 4624 4625 name = "elasticsearch-dsl-0.0.9"; ··· 4641 4642 maintainers = with maintainers; [ desiderius ]; 4642 4643 }; 4643 4644 }); 4645 + 4646 + elasticsearch-curator = callPackage ../development/python-modules/elasticsearch-curator { }; 4644 4647 4645 4648 entrypoints = callPackage ../development/python-modules/entrypoints { }; 4646 4649 ··· 14328 14331 }; 14329 14332 }; 14330 14333 14331 - pyelasticsearch = buildPythonPackage (rec { 14332 - name = "pyelasticsearch-1.4"; 14333 - 14334 - src = pkgs.fetchurl { 14335 - url = "mirror://pypi/p/pyelasticsearch/${name}.tar.gz"; 14336 - sha256 = "18wp6llfjv6hvyhr3f6i8dm9wc5rf46wiqsfxwpvnf6mdrvk6xr7"; 14337 - }; 14338 - 14339 - # Tests require a local instance of elasticsearch 14340 - doCheck = false; 14341 - propagatedBuildInputs = with self; [ elasticsearch six simplejson certifi ]; 14342 - buildInputs = with self; [ nose mock ]; 14343 - 14344 - meta = { 14345 - description = "A clean, future-proof, high-scale API to elasticsearch"; 14346 - homepage = https://pyelasticsearch.readthedocs.org; 14347 - license = licenses.bsd3; 14348 - }; 14349 - }); 14350 - 14351 14334 pyelftools = buildPythonPackage rec { 14352 14335 pname = "pyelftools"; 14353 14336 version = "0.24"; ··· 23290 23273 23291 23274 ephem = callPackage ../development/python-modules/ephem { }; 23292 23275 23276 + voluptuous = callPackage ../development/python-modules/voluptuous { }; 23293 23277 }); 23294 23278 23295 23279 in fix' (extends overrides packages)