1{ lib
2, asn1crypto
3, asysocks
4, buildPythonPackage
5, fetchPypi
6, minikerberos
7, pythonOlder
8, unicrypto
9}:
10
11buildPythonPackage rec {
12 pname = "asyauth";
13 version = "0.0.16";
14 format = "setuptools";
15
16 disabled = pythonOlder "3.7";
17
18 src = fetchPypi {
19 inherit pname version;
20 hash = "sha256-ktmL2EFWDTzZwhxfleYEeJtMiiDP28JaCGbsvxx73Ok=";
21 };
22
23 propagatedBuildInputs = [
24 asn1crypto
25 asysocks
26 minikerberos
27 unicrypto
28 ];
29
30 # Project doesn't have tests
31 doCheck = false;
32
33 pythonImportsCheck = [
34 "asyauth"
35 ];
36
37 meta = with lib; {
38 description = "Unified authentication library";
39 homepage = "https://github.com/skelsec/asyauth";
40 changelog = "https://github.com/skelsec/asyauth/releases/tag/${version}";
41 license = with licenses; [ mit ];
42 maintainers = with maintainers; [ fab ];
43 };
44}