Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
49 lines
937 B
Nix
49 lines
937 B
Nix
{
|
|
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
|
|
};
|
|
}
|