summary refs log tree commit diff
path: root/pkgs/development/python-modules/elasticsearch-curator/default.nix
diff options
context:
space:
mode:
authorRobert Schütz <robert.schuetz@stud.uni-heidelberg.de>2019-03-21 11:44:08 +0100
committerRobert Schütz <robert.schuetz@stud.uni-heidelberg.de>2019-03-21 11:53:32 +0100
commitc0409de98d0736eaf5c45e8444265a51b5e6c9f9 (patch)
treedc0317d3f881040c460044e3b2dd45a385f51c96 /pkgs/development/python-modules/elasticsearch-curator/default.nix
parent0b87a56015003fe7f19580cd596d1c3fcc2db473 (diff)
downloadnixpkgs-c0409de98d0736eaf5c45e8444265a51b5e6c9f9.tar
nixpkgs-c0409de98d0736eaf5c45e8444265a51b5e6c9f9.tar.gz
nixpkgs-c0409de98d0736eaf5c45e8444265a51b5e6c9f9.tar.bz2
nixpkgs-c0409de98d0736eaf5c45e8444265a51b5e6c9f9.tar.lz
nixpkgs-c0409de98d0736eaf5c45e8444265a51b5e6c9f9.tar.xz
nixpkgs-c0409de98d0736eaf5c45e8444265a51b5e6c9f9.tar.zst
nixpkgs-c0409de98d0736eaf5c45e8444265a51b5e6c9f9.zip
elasticsearch-curator: add top-level package using older click
See https://github.com/NixOS/nixpkgs/pull/58023 for a discussion
of why this is necessary. The upstream issue can be found at
https://github.com/elastic/curator/pull/1280.
Diffstat (limited to 'pkgs/development/python-modules/elasticsearch-curator/default.nix')
-rw-r--r--pkgs/development/python-modules/elasticsearch-curator/default.nix10
1 files changed, 3 insertions, 7 deletions
diff --git a/pkgs/development/python-modules/elasticsearch-curator/default.nix b/pkgs/development/python-modules/elasticsearch-curator/default.nix
index 42fb8dee488..b65e524346f 100644
--- a/pkgs/development/python-modules/elasticsearch-curator/default.nix
+++ b/pkgs/development/python-modules/elasticsearch-curator/default.nix
@@ -45,13 +45,6 @@ buildPythonPackage rec {
     funcsigs
   ];
 
-  postPatch = ''
-    substituteInPlace setup.cfg \
-      --replace 'click>=6.7,<7.0' 'click'
-    substituteInPlace setup.py \
-      --replace 'click>=6.7,<7.0' 'click'
-  '';
-
   meta = with stdenv.lib; {
     homepage = https://github.com/elastic/curator;
     description = "Curate, or manage, your Elasticsearch indices and snapshots";
@@ -69,5 +62,8 @@ buildPythonPackage rec {
       * Perform various actions on the items which remain in the actionable list.
     '';
     maintainers = with maintainers; [ basvandijk ];
+
+    # https://github.com/elastic/curator/pull/1280
+    broken = versionAtLeast click.version "7.0";
   };
 }