From cc38877ab71be33faeed2d268dbde860938b1b2b Mon Sep 17 00:00:00 2001 From: Mario Rodas Date: Thu, 30 May 2019 07:47:00 -0500 Subject: [PATCH] flexget: fix build --- pkgs/applications/networking/flexget/default.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pkgs/applications/networking/flexget/default.nix b/pkgs/applications/networking/flexget/default.nix index 704b7bb15790..ca5947e1b6b9 100644 --- a/pkgs/applications/networking/flexget/default.nix +++ b/pkgs/applications/networking/flexget/default.nix @@ -34,6 +34,10 @@ buildPythonApplication rec { postPatch = '' # remove dependency constraints sed 's/==\([0-9]\.\?\)\+//' -i requirements.txt + + # "zxcvbn-python" was renamed to "zxcvbn", and we don't have the former in + # nixpkgs. See: https://github.com/NixOS/nixpkgs/issues/62110 + substituteInPlace requirements.txt --replace "zxcvbn-python" "zxcvbn" ''; # ~400 failures @@ -50,7 +54,7 @@ buildPythonApplication rec { cherrypy flask flask-restful flask-restplus flask-compress flask_login flask-cors - pyparsing zxcvbn-python future + pyparsing zxcvbn future progressbar # Optional requirements deluge-client