1{ lib
2, asn1crypto
3, asysocks
4, buildPythonPackage
5, fetchPypi
6, oscrypto
7, pythonOlder
8, unicrypto
9}:
10
11buildPythonPackage rec {
12 pname = "minikerberos";
13 version = "0.3.3";
14 format = "setuptools";
15
16 disabled = pythonOlder "3.7";
17
18 src = fetchPypi {
19 inherit pname version;
20 hash = "sha256-xO7d5GCihEzIH/DZziRR1SRpzAywPe99WJXeRyuh7S8=";
21 };
22
23 propagatedBuildInputs = [
24 asn1crypto
25 asysocks
26 oscrypto
27 unicrypto
28 ];
29
30 # no tests are published: https://github.com/skelsec/minikerberos/pull/5
31 doCheck = false;
32
33 pythonImportsCheck = [
34 "minikerberos"
35 ];
36
37 meta = with lib; {
38 description = "Kerberos manipulation library in Python";
39 homepage = "https://github.com/skelsec/minikerberos";
40 license = with licenses; [ mit ];
41 maintainers = with maintainers; [ fab ];
42 };
43}