summary refs log tree commit diff
path: root/pkgs/development/python-modules/pykerberos/default.nix
blob: bb16c04bec86612588d0a89bae006292501a536a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{ lib, fetchPypi, buildPythonPackage, krb5 }:

buildPythonPackage rec {
  pname = "pykerberos";
  version = "1.2.4";

  src = fetchPypi {
    inherit pname version;
    hash = "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 ];
  };
}