Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
937 B · 48 lines
Nix
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849{ lib, stdenv, buildPythonPackage, cython, fetchPypi, k5test, krb5-c, # C krb5 library pytestCheckHook, pythonOlder, setuptools,}:
buildPythonPackage rec { pname = "krb5"; version = "0.7.1"; pyproject = true;
disabled = pythonOlder "3.8";
src = fetchPypi { inherit pname version; hash = "sha256-7V8T1QMUibENhlXAraKKgcI5Gz7LigjG1znh5YNbxFA="; };
build-system = [ cython setuptools ];
nativeBuildInputs = [ krb5-c ];
nativeCheckInputs = [ k5test pytestCheckHook ];
pythonImportsCheck = [ "krb5" ];
meta = with lib; { changelog = "https://github.com/jborean93/pykrb5/blob/v${version}/CHANGELOG.md"; description = "Kerberos API bindings for Python"; homepage = "https://github.com/jborean93/pykrb5"; license = licenses.mit; teams = [ teams.deshaw ]; broken = stdenv.hostPlatform.isDarwin; # TODO: figure out how to build on Darwin };}