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:
@@ -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; {
|
||||
|
||||
@@ -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 { };
|
||||
|
||||
|
||||
Reference in New Issue
Block a user