summary refs log tree commit diff
path: root/pkgs/development/python-modules/flask-ldap-login
diff options
context:
space:
mode:
authorJosef Kemetmüller <josef.kemetmueller@gmail.com>2018-09-09 20:39:15 +0200
committerJosef Kemetmüller <josef.kemetmueller@gmail.com>2018-09-09 20:39:15 +0200
commitd4e89680d2400a28de8fee772070680458e9e1a9 (patch)
tree09d0fe2b13f2f9c58e095038be4a3dc23c1a90c3 /pkgs/development/python-modules/flask-ldap-login
parent201ee1975810663b23e54f594d5ca6319e0fbdaf (diff)
downloadnixpkgs-d4e89680d2400a28de8fee772070680458e9e1a9.tar
nixpkgs-d4e89680d2400a28de8fee772070680458e9e1a9.tar.gz
nixpkgs-d4e89680d2400a28de8fee772070680458e9e1a9.tar.bz2
nixpkgs-d4e89680d2400a28de8fee772070680458e9e1a9.tar.lz
nixpkgs-d4e89680d2400a28de8fee772070680458e9e1a9.tar.xz
nixpkgs-d4e89680d2400a28de8fee772070680458e9e1a9.tar.zst
nixpkgs-d4e89680d2400a28de8fee772070680458e9e1a9.zip
pythonPackages.flask_ldap_login: Fix build
Diffstat (limited to 'pkgs/development/python-modules/flask-ldap-login')
-rw-r--r--pkgs/development/python-modules/flask-ldap-login/default.nix10
1 files changed, 9 insertions, 1 deletions
diff --git a/pkgs/development/python-modules/flask-ldap-login/default.nix b/pkgs/development/python-modules/flask-ldap-login/default.nix
index b95e694a232..02f4290d959 100644
--- a/pkgs/development/python-modules/flask-ldap-login/default.nix
+++ b/pkgs/development/python-modules/flask-ldap-login/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, buildPythonPackage, fetchPypi
+{ stdenv, buildPythonPackage, fetchPypi, fetchpatch
 , flask, flask_wtf, flask_testing, ldap
 , mock, nose }:
 
@@ -11,6 +11,14 @@ buildPythonPackage rec {
     sha256 = "085rik7q8xrp5g95346p6jcp9m2yr8kamwb2kbiw4q0b0fpnnlgq";
   };
 
+  patches = [
+    # Fix flask_wtf>=0.9.0 incompatibility. See https://github.com/ContinuumIO/flask-ldap-login/issues/41
+    (fetchpatch {
+      url = https://github.com/ContinuumIO/flask-ldap-login/commit/ed08c03c818dc63b97b01e2e7c56862eaa6daa43.patch;
+      sha256 = "19pkhbldk8jq6m10kdylvjf1c8m84fvvj04v5qda4cjyks15aq48";
+    })
+  ];
+
   checkInputs = [ nose mock flask_testing ];
   propagatedBuildInputs = [ flask flask_wtf ldap ];