about summary refs log tree commit diff
path: root/pkgs/applications/networking/flexget
diff options
context:
space:
mode:
authorMario Rodas <marsam@users.noreply.github.com>2019-05-30 07:47:00 -0500
committerMario Rodas <marsam@users.noreply.github.com>2019-06-02 11:48:56 -0500
commitcc38877ab71be33faeed2d268dbde860938b1b2b (patch)
treefc50f5274a9877249c84860d98cc4cf898b625d5 /pkgs/applications/networking/flexget
parentc86f50122ff385c0d5784b5c4808070e72ffa1a5 (diff)
flexget: fix build
Diffstat (limited to 'pkgs/applications/networking/flexget')
-rw-r--r--pkgs/applications/networking/flexget/default.nix6
1 files changed, 5 insertions, 1 deletions
diff --git a/pkgs/applications/networking/flexget/default.nix b/pkgs/applications/networking/flexget/default.nix
index 704b7bb157901..ca5947e1b6b91 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