Skip to content

Commit

Permalink
pythonPackages.flask_ldap_login: Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
knedlsepp committed Sep 9, 2018
1 parent 201ee19 commit d4e8968
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion 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 }:

Expand All @@ -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 ];

Expand Down

0 comments on commit d4e8968

Please sign in to comment.