python3Packages.pykerberos: 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:
Elliot Cameron
2024-08-13 19:28:10 -04:00
parent cf5756dcc3
commit eebf361edd
2 changed files with 7 additions and 4 deletions
@@ -2,7 +2,7 @@
lib,
fetchPypi,
buildPythonPackage,
krb5,
pkgs,
}:
buildPythonPackage rec {
@@ -15,12 +15,13 @@ buildPythonPackage rec {
hash = "sha256-nXAevY/FlsmdMVXVukWBO9WQjSbvg7oK3SUO22IqvtQ=";
};
nativeBuildInputs = [ krb5 ]; # for krb5-config
nativeBuildInputs = [ pkgs.krb5 ]; # for krb5-config
buildInputs = [ krb5 ];
buildInputs = [ pkgs.krb5 ];
# there are no tests
doCheck = false;
pythonImportsCheck = [ "kerberos" ];
meta = with lib; {
+3 -1
View File
@@ -11603,7 +11603,9 @@ self: super: with self; {
pykeepass = callPackage ../development/python-modules/pykeepass { };
pykerberos = callPackage ../development/python-modules/pykerberos { };
pykerberos = callPackage ../development/python-modules/pykerberos {
krb5-c = pkgs.krb5;
};
pykeyatome = callPackage ../development/python-modules/pykeyatome { };