From 303ec90277b42e2d08611f7aa23fa852f2d1cc57 Mon Sep 17 00:00:00 2001 From: Anthony Roussel Date: Sun, 24 Mar 2024 11:56:15 +0100 Subject: [PATCH] elasticsearch-curator: 8.0.10 -> 8.0.12 https://github.com/elastic/curator/compare/v8.0.10...v8.0.12 --- .../admin/elasticsearch-curator/default.nix | 18 ++++-------------- 1 file changed, 4 insertions(+), 14 deletions(-) diff --git a/pkgs/tools/admin/elasticsearch-curator/default.nix b/pkgs/tools/admin/elasticsearch-curator/default.nix index dacec5a76779..3e12c03cbece 100644 --- a/pkgs/tools/admin/elasticsearch-curator/default.nix +++ b/pkgs/tools/admin/elasticsearch-curator/default.nix @@ -8,30 +8,21 @@ python3.pkgs.buildPythonApplication rec { pname = "elasticsearch-curator"; - version = "8.0.10"; + version = "8.0.12"; format = "pyproject"; src = fetchFromGitHub { owner = "elastic"; repo = "curator"; rev = "refs/tags/v${version}"; - hash = "sha256-hGG7lyrVviZSKTUo+AOPIutn/mxtDo+ewFxCRdj/jts="; + hash = "sha256-CU/8l5607eKodcdpMKu0Wdlg+K6YnFX6uoDju12NDR0="; }; - 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; [ + build-system = with python3.pkgs; [ hatchling ]; - propagatedBuildInputs = with python3.pkgs; [ + dependencies = with python3.pkgs; [ certifi click ecs-logging @@ -43,7 +34,6 @@ python3.pkgs.buildPythonApplication rec { ]; nativeCheckInputs = with python3.pkgs; [ - mock requests pytestCheckHook ];