depot/third_party/nixpkgs/pkgs/development/python-modules/pykerberos/default.nix
Default email 22017988c6 Project import generated by Copybara.
GitOrigin-RevId: c777cdf5c564015d5f63b09cc93bef4178b19b01
2022-04-27 11:35:20 +02:00

25 lines
563 B
Nix

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