From f6e1221e8d04909d49bb4b66d4e7feb9cbb7e436 Mon Sep 17 00:00:00 2001 From: Sarah Brofeldt Date: Wed, 20 Mar 2019 13:30:13 +0100 Subject: [PATCH] pythonPackages.elasticsearch-curator: Jailbreak click (#57912) --- .../python-modules/elasticsearch-curator/default.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pkgs/development/python-modules/elasticsearch-curator/default.nix b/pkgs/development/python-modules/elasticsearch-curator/default.nix index 66c124d65a7811..42fb8dee48860f 100644 --- a/pkgs/development/python-modules/elasticsearch-curator/default.nix +++ b/pkgs/development/python-modules/elasticsearch-curator/default.nix @@ -45,6 +45,13 @@ 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";