1{
2 lib,
3 asn1crypto,
4 asysocks,
5 buildPythonPackage,
6 fetchPypi,
7 oscrypto,
8 setuptools,
9 six,
10 tqdm,
11 unicrypto,
12}:
13
14buildPythonPackage rec {
15 pname = "minikerberos";
16 version = "0.4.7";
17 pyproject = true;
18
19 src = fetchPypi {
20 inherit pname version;
21 hash = "sha256-lzA9Gv3eqeOxjq/YxIvpMs2Y5QYiiJHyaCmBaH12zAk=";
22 };
23
24 build-system = [ setuptools ];
25
26 dependencies = [
27 asn1crypto
28 asysocks
29 oscrypto
30 six
31 tqdm
32 unicrypto
33 ];
34
35 # no tests are published: https://github.com/skelsec/minikerberos/pull/5
36 doCheck = false;
37
38 pythonImportsCheck = [ "minikerberos" ];
39
40 meta = with lib; {
41 description = "Kerberos manipulation library in Python";
42 homepage = "https://github.com/skelsec/minikerberos";
43 changelog = "https://github.com/skelsec/minikerberos/releases/tag/${version}";
44 license = licenses.mit;
45 maintainers = with maintainers; [ fab ];
46 };
47}