From 4e1be9a17b5c37db671b775cf6e633aaee5313d6 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 17 Aug 2023 22:49:57 +0200 Subject: [PATCH] elasticsearch-curator: 8.0.4 -> 8.0.8 Changelog: https://github.com/elastic/curator/releases/tag/v8.0.8 --- .../admin/elasticsearch-curator/default.nix | 24 +++++++++---------- 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/pkgs/tools/admin/elasticsearch-curator/default.nix b/pkgs/tools/admin/elasticsearch-curator/default.nix index 77acc590e1d4..f09aad4a93e3 100644 --- a/pkgs/tools/admin/elasticsearch-curator/default.nix +++ b/pkgs/tools/admin/elasticsearch-curator/default.nix @@ -5,27 +5,27 @@ python3.pkgs.buildPythonApplication rec { pname = "elasticsearch-curator"; - version = "8.0.4"; + version = "8.0.8"; format = "pyproject"; src = fetchFromGitHub { owner = "elastic"; repo = "curator"; rev = "refs/tags/v${version}"; - hash = "sha256-FPp2BpfYsmNwwevYQ6EH3N1q0TjyeEsBeDM9EUbLl+Q="; + hash = "sha256-G8wKeEr7TuUWlqz9hJmnJW7yxn+4WPoStVC0AX5jdHI="; }; - pythonRelaxDeps = [ - "click" - "ecs-logging" - "elasticsearch8" - "es_client" - "pyyaml" - ]; + postPatch = '' + substituteInPlace pyproject.toml \ + --replace "elasticsearch8==" "elasticsearch8>=" \ + --replace "es_client==" "es_client>=" \ + --replace "ecs-logging==" "ecs-logging>=" \ + --replace "click==" "click>="\ + --replace "pyyaml==" "pyyaml>=" + ''; nativeBuildInputs = with python3.pkgs; [ hatchling - pythonRelaxDepsHook ]; propagatedBuildInputs = with python3.pkgs; [ @@ -77,8 +77,9 @@ python3.pkgs.buildPythonApplication rec { ]; meta = with lib; { - homepage = "https://github.com/elastic/curator"; description = "Curate, or manage, your Elasticsearch indices and snapshots"; + homepage = "https://github.com/elastic/curator"; + changelog = "https://github.com/elastic/curator/releases/tag/v${version}"; license = licenses.asl20; longDescription = '' Elasticsearch Curator helps you curate, or manage, your Elasticsearch @@ -92,7 +93,6 @@ python3.pkgs.buildPythonApplication rec { * Perform various actions on the items which remain in the actionable list. ''; - changelog = "https://github.com/elastic/curator/releases/tag/v${version}"; maintainers = with maintainers; [ basvandijk ]; }; }