mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-18 16:10:19 +03:00
Mark python3Packages.krb5 broken and fix requests-kerberos on Darwin (#337576)
This commit is contained in:
commit
7d31b51a62
2 changed files with 11 additions and 5 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue