diff options
author | Thane Gill <me@thanegill.com> | 2017-12-14 13:50:28 -0800 |
---|---|---|
committer | Jörg Thalheim <Mic92@users.noreply.github.com> | 2017-12-14 13:50:28 -0800 |
commit | a3b84e03a0a1edc9810d54dc816eb34f3e78a43f (patch) | |
tree | 982587c9ca8ffd66466e7b86e9fd4c1465140182 /pkgs/development/python-modules | |
parent | 0d9343bd4e804dc8418ccdfce85a86a5d9e23cb6 (diff) | |
download | nixlib-a3b84e03a0a1edc9810d54dc816eb34f3e78a43f.tar nixlib-a3b84e03a0a1edc9810d54dc816eb34f3e78a43f.tar.gz nixlib-a3b84e03a0a1edc9810d54dc816eb34f3e78a43f.tar.bz2 nixlib-a3b84e03a0a1edc9810d54dc816eb34f3e78a43f.tar.lz nixlib-a3b84e03a0a1edc9810d54dc816eb34f3e78a43f.tar.xz nixlib-a3b84e03a0a1edc9810d54dc816eb34f3e78a43f.tar.zst nixlib-a3b84e03a0a1edc9810d54dc816eb34f3e78a43f.zip |
python.pkgs.gssapi: 1.1.4 -> 1.2.0, (#32681)
- fix for darwin - move to separate module
Diffstat (limited to 'pkgs/development/python-modules')
-rw-r--r-- | pkgs/development/python-modules/gssapi/default.nix | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/gssapi/default.nix b/pkgs/development/python-modules/gssapi/default.nix new file mode 100644 index 000000000000..7b90f10338cb --- /dev/null +++ b/pkgs/development/python-modules/gssapi/default.nix @@ -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; + }; +} |