1{
2 lib,
3 asn1crypto,
4 asysocks,
5 buildPythonPackage,
6 fetchFromGitHub,
7 minikerberos-bad,
8 setuptools,
9 unicrypto,
10}:
11
12buildPythonPackage rec {
13 pname = "asyauth-bad";
14 version = "0.0.20";
15 pyproject = true;
16
17 src = fetchFromGitHub {
18 owner = "CravateRouge";
19 repo = "asyauth-bAD";
20 tag = version;
21 hash = "sha256-NX6bvOxA4Y5KRPCIsI+o0cB4dFOXlV89iH7YqNDdaXE=";
22 };
23
24 build-system = [ setuptools ];
25
26 dependencies = [
27 asn1crypto
28 asysocks
29 minikerberos-bad
30 unicrypto
31 ];
32
33 # Module doesn't have tests
34 doCheck = false;
35
36 pythonImportsCheck = [ "asyauth" ];
37
38 meta = {
39 description = "Unified authentication library";
40 homepage = "https://github.com/CravateRouge/asyauth-bAD";
41 changelog = "https://github.com/CravateRouge/asyauth-bAD/releases/tag/${src.tag}";
42 license = lib.licenses.mit;
43 maintainers = with lib.maintainers; [ fab ];
44 };
45}