Merge pull request #58798 from r-ryantm/auto-update/python3.7-ldap3

python37Packages.ldap3: 2.5.2 -> 2.6
This commit is contained in:
worldofpeace 2019-04-11 04:46:11 -04:00 committed by GitHub
commit f8062cb500
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,20 +1,12 @@
{ stdenv, fetchPypi, fetchFromGitHub, buildPythonPackage, pyasn1 }:
buildPythonPackage rec {
version = "2.5.2";
pname = "ldap3";
version = "2.6";
## This should work, but 2.5.2 has a weird tarball with empty source files
## where upstream repository has non-empty ones
# src = fetchPypi {
# inherit pname version;
# sha256 = "063dacy01mphc3n7z2qc2avykjavqm1gllkbvy7xzw5ihlqwhrrz";
# };
src = fetchFromGitHub {
owner = "cannatag";
repo = pname;
rev = "v${version}";
sha256 = "0p5l4bhy6j2nvvlxz5zvznbaqb72x791v9la2jr2wpwr60mzz9hw";
src = fetchPypi {
inherit pname version;
sha256 = "1f0v82584b7gkzrnnnl4fc88w4i73x7cxqbzy0r0bknm33yfwcq5";
};
propagatedBuildInputs = [ pyasn1 ];