at 23.05-pre 757 B view raw
1{ lib 2, aiohttp 3, async-timeout 4, buildPythonPackage 5, fetchFromGitHub 6, pythonOlder 7}: 8 9buildPythonPackage rec { 10 pname = "adax"; 11 version = "0.2.0"; 12 format = "setuptools"; 13 14 disabled = pythonOlder "3.5"; 15 16 src = fetchFromGitHub { 17 owner = "Danielhiversen"; 18 repo = "pyadax"; 19 rev = version; 20 sha256 = "sha256-EMSX2acklwWOYiEeLHYG5mwdiGnWAUo5dGMiHCmZrko="; 21 }; 22 23 propagatedBuildInputs = [ 24 aiohttp 25 async-timeout 26 ]; 27 28 # Project has no tests 29 doCheck = false; 30 31 pythonImportsCheck = [ "adax" ]; 32 33 meta = with lib; { 34 description = "Python module to communicate with Adax"; 35 homepage = "https://github.com/Danielhiversen/pyAdax"; 36 license = with licenses; [ mit ]; 37 maintainers = with maintainers; [ fab ]; 38 }; 39}