diff options
author | Josef Kemetmüller <josef.kemetmueller@gmail.com> | 2018-09-09 20:39:15 +0200 |
---|---|---|
committer | Josef Kemetmüller <josef.kemetmueller@gmail.com> | 2018-09-09 20:39:15 +0200 |
commit | d4e89680d2400a28de8fee772070680458e9e1a9 (patch) | |
tree | 09d0fe2b13f2f9c58e095038be4a3dc23c1a90c3 | |
parent | 201ee1975810663b23e54f594d5ca6319e0fbdaf (diff) | |
download | nixlib-d4e89680d2400a28de8fee772070680458e9e1a9.tar nixlib-d4e89680d2400a28de8fee772070680458e9e1a9.tar.gz nixlib-d4e89680d2400a28de8fee772070680458e9e1a9.tar.bz2 nixlib-d4e89680d2400a28de8fee772070680458e9e1a9.tar.lz nixlib-d4e89680d2400a28de8fee772070680458e9e1a9.tar.xz nixlib-d4e89680d2400a28de8fee772070680458e9e1a9.tar.zst nixlib-d4e89680d2400a28de8fee772070680458e9e1a9.zip |
pythonPackages.flask_ldap_login: Fix build
-rw-r--r-- | pkgs/development/python-modules/flask-ldap-login/default.nix | 10 |
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 b95e694a232f..02f4290d9590 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 ]; |