2021-01-25 08:26:54 +00:00
|
|
|
{ lib, fetchPypi, buildPythonPackage, krb5 }:
|
2018-06-12 17:22:45 +01:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pykerberos";
|
2021-05-07 23:08:52 +01:00
|
|
|
version = "1.2.3.dev0";
|
2018-06-12 17:22:45 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-05-07 23:08:52 +01:00
|
|
|
sha256 = "17zjiw6rqgfic32px86qls1i3z7anp15dgb3sprbdvywy98alryn";
|
2018-06-12 17:22:45 +01:00
|
|
|
};
|
|
|
|
|
2019-03-05 07:48:29 +00:00
|
|
|
nativeBuildInputs = [ krb5 ]; # for krb5-config
|
|
|
|
|
|
|
|
buildInputs = [ krb5 ];
|
2018-06-12 17:22:45 +01:00
|
|
|
|
|
|
|
# there are no tests
|
|
|
|
doCheck = false;
|
2021-05-07 23:08:52 +01:00
|
|
|
pythonImportsCheck = [ "kerberos" ];
|
2018-06-12 17:22:45 +01:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2018-06-12 17:22:45 +01:00
|
|
|
description = "High-level interface to Kerberos";
|
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = with maintainers; [ catern ];
|
|
|
|
};
|
|
|
|
}
|