2021-02-05 17:12:51 +00:00
|
|
|
{ lib, fetchPypi, buildPythonPackage, krb5 }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pykerberos";
|
2022-04-27 09:35:20 +00:00
|
|
|
version = "1.2.4";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2022-04-27 09:35:20 +00:00
|
|
|
sha256 = "sha256-nXAevY/FlsmdMVXVukWBO9WQjSbvg7oK3SUO22IqvtQ=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ krb5 ]; # for krb5-config
|
|
|
|
|
|
|
|
buildInputs = [ krb5 ];
|
|
|
|
|
|
|
|
# there are no tests
|
|
|
|
doCheck = false;
|
2021-05-20 23:08:51 +00:00
|
|
|
pythonImportsCheck = [ "kerberos" ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "High-level interface to Kerberos";
|
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = with maintainers; [ catern ];
|
|
|
|
};
|
|
|
|
}
|