Mark python3Packages.krb5 broken and fix requests-kerberos on Darwin (#337576)
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
buildPythonPackage,
|
||||
cython,
|
||||
fetchPypi,
|
||||
@@ -42,5 +43,6 @@ buildPythonPackage rec {
|
||||
homepage = "https://github.com/jborean93/pykrb5";
|
||||
license = licenses.mit;
|
||||
maintainers = teams.deshaw.members;
|
||||
broken = stdenv.isDarwin; # TODO: figure out how to build on Darwin
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
buildPythonPackage,
|
||||
cryptography,
|
||||
fetchFromGitHub,
|
||||
@@ -24,11 +25,14 @@ buildPythonPackage rec {
|
||||
hash = "sha256-s1Q3zqKPSuTkiFExr+axai9Eta1xjw/cip8xzfDGR88=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
cryptography
|
||||
requests
|
||||
pyspnego
|
||||
] ++ pyspnego.optional-dependencies.kerberos;
|
||||
propagatedBuildInputs =
|
||||
[
|
||||
cryptography
|
||||
requests
|
||||
pyspnego
|
||||
]
|
||||
# Avoid broken Python krb5 package on Darwin
|
||||
++ lib.optionals (!stdenv.isDarwin) pyspnego.optional-dependencies.kerberos;
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
|
||||
Reference in New Issue
Block a user