1{ lib
2, aiohttp
3, bleak
4, buildPythonPackage
5, fetchFromGitHub
6, async-timeout
7, pythonOlder
8}:
9
10buildPythonPackage rec {
11 pname = "adax-local";
12 version = "0.1.5";
13 format = "setuptools";
14
15 disabled = pythonOlder "3.8";
16
17 src = fetchFromGitHub {
18 owner = "Danielhiversen";
19 repo = "pyAdaxLocal";
20 rev = "refs/tags/${version}";
21 hash = "sha256-V3jSBdYDo32oTAGNTvHJi+GSwlL3keSDhXpNpMoCkWs=";
22 };
23
24 propagatedBuildInputs = [
25 aiohttp
26 bleak
27 async-timeout
28 ];
29
30 # Module has no tests
31 doCheck = false;
32
33 pythonImportsCheck = [
34 "adax_local"
35 ];
36
37 meta = with lib; {
38 description = "Module for local access to Adax";
39 homepage = "https://github.com/Danielhiversen/pyAdaxLocal";
40 license = with licenses; [ mit ];
41 maintainers = with maintainers; [ fab ];
42 };
43}