summary refs log tree commit diff
path: root/pkgs/development/python-modules/minikerberos/default.nix
blob: 7537fb2e1577286f31d2f99f1cc64361bc475f2d (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
26
27
28
29
30
31
32
{ lib
, asn1crypto
, asysocks
, buildPythonPackage
, fetchPypi
}:

buildPythonPackage rec {
  pname = "minikerberos";
  version = "0.2.7";

  src = fetchPypi {
    inherit pname version;
    sha256 = "08ngf55pbnzyqkgffzxix6ldal9l38d2jjn9rvxkg88ygxsalfvm";
  };

  propagatedBuildInputs = [
    asn1crypto
    asysocks
  ];

  # no tests are published: https://github.com/skelsec/minikerberos/pull/5
  doCheck = false;
  pythonImportsCheck = [ "minikerberos" ];

  meta = with lib; {
    description = "Kerberos manipulation library in Python";
    homepage = "https://github.com/skelsec/minikerberos";
    license = with licenses; [ mit ];
    maintainers = with maintainers; [ fab ];
  };
}