1{
2 lib,
3 aenum,
4 aiodns,
5 aiohttp,
6 buildPythonPackage,
7 faust-cchardet,
8 fetchFromGitHub,
9 pyopenssl,
10 pythonOlder,
11 pythonRelaxDepsHook,
12 pytz,
13 related,
14 requests,
15 uonet-request-signer-hebe,
16 yarl,
17}:
18
19buildPythonPackage rec {
20 pname = "vulcan-api";
21 version = "2.3.2";
22 format = "setuptools";
23
24 disabled = pythonOlder "3.6";
25
26 src = fetchFromGitHub {
27 owner = "kapi2289";
28 repo = pname;
29 rev = "refs/tags/v${version}";
30 hash = "sha256-ebWKcRxAAkHVqV2RaftIHBRJe/TYSUxS+5Utxb0yhtw=";
31 };
32
33 pythonRemoveDeps = [ "faust-cchardet" ];
34
35 nativeBuildInputs = [ pythonRelaxDepsHook ];
36
37 propagatedBuildInputs = [
38 aenum
39 aiodns
40 aiohttp
41 faust-cchardet
42 pyopenssl
43 pytz
44 related
45 requests
46 uonet-request-signer-hebe
47 yarl
48 ];
49
50 # Project has no tests
51 doCheck = false;
52
53 pythonImportsCheck = [ "vulcan" ];
54
55 meta = with lib; {
56 description = "Python library for UONET+ e-register API";
57 homepage = "https://vulcan-api.readthedocs.io/";
58 changelog = "https://github.com/kapi2289/vulcan-api/releases/tag/v${version}";
59 license = licenses.mit;
60 maintainers = with maintainers; [ fab ];
61 };
62}