nixpkgs/pkgs/development/python-modules/pykerberos/default.nix
2021-01-25 18:31:47 +01:00

25 lines
525 B
Nix

{ lib, fetchPypi, buildPythonPackage, krb5 }:
buildPythonPackage rec {
pname = "pykerberos";
version = "1.2.1";
src = fetchPypi {
inherit pname version;
sha256 = "0v47p840myqgc7hr4lir72xshcfpa0w8j9n077h3njpqyn6wlbag";
};
nativeBuildInputs = [ krb5 ]; # for krb5-config
buildInputs = [ krb5 ];
# there are no tests
doCheck = false;
meta = with lib; {
description = "High-level interface to Kerberos";
license = licenses.asl20;
maintainers = with maintainers; [ catern ];
};
}