python: python-ldap: 2.4.45 -> 2.5.2

This commit is contained in:
Frederik Rietdijk 2017-12-30 12:24:09 +01:00
parent a7200d1d89
commit 74abf265a6

View File

@ -1,18 +1,18 @@
{ lib, writeText, buildPythonPackage, isPy3k, fetchPypi
, openldap, cyrus_sasl, openssl, pytest }:
, openldap, cyrus_sasl, openssl, pytest, pyasn1 }:
buildPythonPackage rec {
pname = "python-ldap";
version = "2.4.45";
version = "2.5.2";
name = "${pname}-${version}";
disabled = isPy3k;
src = fetchPypi {
inherit pname version;
sha256 = "824fde180a53772e23edc031c4dd64ac1af4a3eade78f00d9d510937d562f64e";
sha256 = "b8c134dfedaef0e6ff4a4b94277708dcadb758b448905a83b8946df077356ed2";
};
buildInputs = [ pytest ];
checkInputs = [ pytest pyasn1 ];
checkPhase = ''
# Needed by tests to setup a mockup ldap server.