python37Packages.ldap3: 2.5.2 -> 2.6
This commit is contained in:
parent
18aa59b0f2
commit
6542a4cb8e
@ -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 ];
|
||||
|
Loading…
Reference in New Issue
Block a user