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