diff options
author | Robert Scott <code@humanleg.org.uk> | 2017-05-29 02:05:56 +0100 |
---|---|---|
committer | Robert Scott <code@humanleg.org.uk> | 2017-05-29 02:10:43 +0100 |
commit | d2ef1a24b86c1ff69c218c8d83b48af0977ca3af (patch) | |
tree | c0682f4000f4300501924257a22e710c701b3037 /pkgs | |
parent | 2c228f62cd5675fcd63107e948eaa72f827af756 (diff) | |
download | nixlib-d2ef1a24b86c1ff69c218c8d83b48af0977ca3af.tar nixlib-d2ef1a24b86c1ff69c218c8d83b48af0977ca3af.tar.gz nixlib-d2ef1a24b86c1ff69c218c8d83b48af0977ca3af.tar.bz2 nixlib-d2ef1a24b86c1ff69c218c8d83b48af0977ca3af.tar.lz nixlib-d2ef1a24b86c1ff69c218c8d83b48af0977ca3af.tar.xz nixlib-d2ef1a24b86c1ff69c218c8d83b48af0977ca3af.tar.zst nixlib-d2ef1a24b86c1ff69c218c8d83b48af0977ca3af.zip |
python.pkgs.ldap: use fetchPypi for src
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/development/python-modules/ldap.nix | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/development/python-modules/ldap.nix b/pkgs/development/python-modules/ldap.nix index e2625e2bfbfa..3e715bbe419a 100644 --- a/pkgs/development/python-modules/ldap.nix +++ b/pkgs/development/python-modules/ldap.nix @@ -1,4 +1,4 @@ -{ buildPythonPackage, isPy3k, fetchurl +{ buildPythonPackage, isPy3k, fetchPypi , openldap, cyrus_sasl, openssl }: buildPythonPackage rec { @@ -7,8 +7,8 @@ buildPythonPackage rec { name = "${pname}-${version}"; disabled = isPy3k; - src = fetchurl { - url = "mirror://pypi/p/python-ldap/python-${name}.tar.gz"; + src = fetchPypi { + inherit pname version; sha256 = "88bab69e519dd8bd83becbe36bd141c174b0fe309e84936cf1bae685b31be779"; }; |