mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-28 15:54:32 +00:00
Merge pull request #46438 from knedlsepp/fix-pythonPackages.flask_ldap_login
pythonPackages.flask_ldap_login: Fix build
This commit is contained in:
commit
d18aaceda6
@ -1,16 +1,27 @@
|
|||||||
{ stdenv, buildPythonPackage, fetchPypi
|
{ stdenv, buildPythonPackage, isPy3k, fetchFromGitHub, fetchpatch
|
||||||
, flask, flask_wtf, flask_testing, ldap
|
, flask, flask_wtf, flask_testing, ldap
|
||||||
, mock, nose }:
|
, mock, nose }:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "flask-ldap-login";
|
pname = "flask-ldap-login";
|
||||||
version = "0.3.0";
|
version = "0.3.4";
|
||||||
|
disabled = isPy3k;
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchFromGitHub {
|
||||||
inherit pname version;
|
owner = "ContinuumIO";
|
||||||
sha256 = "085rik7q8xrp5g95346p6jcp9m2yr8kamwb2kbiw4q0b0fpnnlgq";
|
repo = "flask-ldap-login";
|
||||||
|
rev = version;
|
||||||
|
sha256 = "1l6zahqhwn5g9fmhlvjv80288b5h2fk5mssp7amdkw5ysk570wzp";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
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 ];
|
checkInputs = [ nose mock flask_testing ];
|
||||||
propagatedBuildInputs = [ flask flask_wtf ldap ];
|
propagatedBuildInputs = [ flask flask_wtf ldap ];
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user