Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
python.pkgs.gssapi: 1.1.4 -> 1.2.0, (#32681)
- fix for darwin - move to separate module
- Loading branch information
Showing
2 changed files
with
30 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
{ stdenv, pkgs, lib, buildPythonPackage, fetchPypi, six, enum34, decorator, | ||
nose, shouldbe, gss, krb5Full, which, darwin }: | ||
|
||
buildPythonPackage rec { | ||
pname = "gssapi"; | ||
version = "1.2.0"; | ||
name = "${pname}-${version}"; | ||
|
||
src = fetchPypi { | ||
inherit pname version; | ||
sha256 = "1q6ccpz6anl9vggwxdq32wp6xjh2lyfbf7av6jqnmvmyqdfwh3b9"; | ||
}; | ||
|
||
LD_LIBRARY_PATH="${pkgs.krb5Full}/lib"; | ||
|
||
buildInputs = [ krb5Full which nose shouldbe ] | ||
++ ( if stdenv.isDarwin then [ darwin.apple_sdk.frameworks.GSS ] else [ gss ] ); | ||
|
||
propagatedBuildInputs = [ decorator enum34 six ]; | ||
|
||
doCheck = false; # No such file or directory: '/usr/sbin/kadmin.local' | ||
|
||
meta = with stdenv.lib; { | ||
homepage = https://pypi.python.org/pypi/gssapi; | ||
description = "Python GSSAPI Wrapper"; | ||
license = licenses.mit; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters