python3Packages.gssapi: disambiguate krb5
PyPI also has a package called krb5 and this package wants the system krb5, not the PyPI one.
This commit is contained in:
@@ -7,7 +7,6 @@
|
||||
|
||||
# build-system
|
||||
cython,
|
||||
krb5,
|
||||
setuptools,
|
||||
|
||||
# dependencies
|
||||
@@ -15,6 +14,7 @@
|
||||
|
||||
# native dependencies
|
||||
GSS,
|
||||
krb5-c, # C krb5 library, not PyPI krb5
|
||||
|
||||
# tests
|
||||
parameterized,
|
||||
@@ -38,7 +38,7 @@ buildPythonPackage rec {
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace setup.py \
|
||||
--replace 'get_output(f"{kc} gssapi --prefix")' '"${lib.getDev krb5}"'
|
||||
--replace 'get_output(f"{kc} gssapi --prefix")' '"${lib.getDev krb5-c}"'
|
||||
'';
|
||||
|
||||
env = lib.optionalAttrs (!stdenv.buildPlatform.canExecute stdenv.hostPlatform) {
|
||||
@@ -47,7 +47,7 @@ buildPythonPackage rec {
|
||||
|
||||
build-system = [
|
||||
cython
|
||||
krb5
|
||||
krb5-c
|
||||
setuptools
|
||||
];
|
||||
|
||||
|
||||
@@ -5370,8 +5370,8 @@ self: super: with self; {
|
||||
gspread = callPackage ../development/python-modules/gspread { };
|
||||
|
||||
gssapi = callPackage ../development/python-modules/gssapi {
|
||||
inherit (pkgs) krb5;
|
||||
inherit (pkgs.darwin.apple_sdk.frameworks) GSS;
|
||||
krb5-c = pkgs.krb5;
|
||||
};
|
||||
|
||||
gst-python = callPackage ../development/python-modules/gst-python {
|
||||
|
||||
Reference in New Issue
Block a user