summary refs log tree commit diff
path: root/pkgs/applications/networking/flexget
diff options
context:
space:
mode:
authorPeter Marheine <peter@taricorp.net>2017-11-06 08:33:59 +0000
committerPeter Marheine <peter@taricorp.net>2017-11-06 08:33:59 +0000
commit030223237ab88229246d7fbb5dd62602849eb3e7 (patch)
tree03641752031ef7d122c6a1355d7aec6bb92b4be1 /pkgs/applications/networking/flexget
parent9e241d0c3f6cbba5b75f079acb3e8c514f34cbc3 (diff)
downloadnixpkgs-030223237ab88229246d7fbb5dd62602849eb3e7.tar
nixpkgs-030223237ab88229246d7fbb5dd62602849eb3e7.tar.gz
nixpkgs-030223237ab88229246d7fbb5dd62602849eb3e7.tar.bz2
nixpkgs-030223237ab88229246d7fbb5dd62602849eb3e7.tar.lz
nixpkgs-030223237ab88229246d7fbb5dd62602849eb3e7.tar.xz
nixpkgs-030223237ab88229246d7fbb5dd62602849eb3e7.tar.zst
nixpkgs-030223237ab88229246d7fbb5dd62602849eb3e7.zip
flexget: fix build with updated dependencies
Diffstat (limited to 'pkgs/applications/networking/flexget')
-rw-r--r--pkgs/applications/networking/flexget/default.nix14
1 files changed, 9 insertions, 5 deletions
diff --git a/pkgs/applications/networking/flexget/default.nix b/pkgs/applications/networking/flexget/default.nix
index 9e5e90996bc..105239aca02 100644
--- a/pkgs/applications/networking/flexget/default.nix
+++ b/pkgs/applications/networking/flexget/default.nix
@@ -24,9 +24,6 @@ buildPythonApplication rec {
   # unicode-capable filesystem (and setting LC_ALL doesn't work).
   # setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
   postPatch = ''
-    sed -i '/def test_non_ascii/i\    import pytest\
-        @pytest.mark.skip' flexget/tests/test_filesystem.py
-
     substituteInPlace requirements.txt \
       --replace "chardet==3.0.3" "chardet" \
       --replace "rebulk==0.8.2" "rebulk" \
@@ -35,7 +32,13 @@ buildPythonApplication rec {
       --replace "sqlalchemy==1.1.10" "sqlalchemy" \
       --replace "zxcvbn-python==4.4.15" "zxcvbn-python" \
       --replace "flask-cors==3.0.2" "flask-cors" \
-      --replace "certifi==2017.4.17" "certifi"
+      --replace "certifi==2017.4.17" "certifi" \
+      --replace "apscheduler==3.3.1" "apscheduler" \
+      --replace "path.py==10.3.1" "path.py" \
+      --replace "tempora==1.8" "tempora" \
+      --replace "cheroot==5.5.0" "cheroot" \
+      --replace "six==1.10.0" "six" \
+      --replace "aniso8601==1.2.1" "aniso8601"
   '';
 
   checkPhase = ''
@@ -47,7 +50,8 @@ buildPythonApplication rec {
                                           and not test_double_episodes \
                                           and not test_inject_force \
                                           and not test_double_prefered \
-                                          and not test_double"
+                                          and not test_double \
+                                          and not test_non_ascii"
   '';
 
   buildInputs = [ pytest mock vcrpy pytest-catchlog boto3 ];