Merge pull request #114702 from bobrik/ivan/python-gssapi-1.6.12

python3Packages.gssapi: 1.6.10 -> 1.6.12
This commit is contained in:
Sandro 2021-04-06 03:19:48 +02:00 committed by GitHub
commit 239d8e2517
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -17,20 +17,20 @@
buildPythonPackage rec {
pname = "gssapi";
version = "1.6.10";
version = "1.6.12";
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "pythongssapi";
repo = "python-${pname}";
rev = "v${version}";
sha256 = "11w8z9ik6zzv3pw3319mz91cgbfkgx0mffxbapqnhilzij2jad4q";
sha256 = "sha256-x86/KMcXChPLzoCqR9xwemusWktf/seHLQmEKLco3GQ=";
};
# It's used to locate headers
postPatch = ''
substituteInPlace setup.py \
--replace "get_output('krb5-config gssapi --prefix')" "'${lib.getDev krb5Full}'"
--replace 'get_output(f"{kc} gssapi --prefix")' '"${lib.getDev krb5Full}"'
'';
nativeBuildInputs = [