1{ 2 lib, 3 aiohttp, 4 buildPythonPackage, 5 fetchFromGitHub, 6 pythonOlder, 7 setuptools, 8 yarl, 9}: 10 11buildPythonPackage rec { 12 pname = "aiotractive"; 13 version = "0.6.0"; 14 pyproject = true; 15 16 disabled = pythonOlder "3.7"; 17 18 src = fetchFromGitHub { 19 owner = "zhulik"; 20 repo = "aiotractive"; 21 tag = "v${version}"; 22 hash = "sha256-QwwW/UxRgd4rco80SqQUGt0ArDNT9MXa/U/W2/dHZT0="; 23 }; 24 25 nativeBuildInputs = [ setuptools ]; 26 27 propagatedBuildInputs = [ 28 aiohttp 29 yarl 30 ]; 31 32 # Project has no tests 33 doCheck = false; 34 35 pythonImportsCheck = [ "aiotractive" ]; 36 37 meta = with lib; { 38 changelog = "https://github.com/zhulik/aiotractive/releases/tag/v${version}"; 39 description = "Python client for the Tractive REST API"; 40 homepage = "https://github.com/zhulik/aiotractive"; 41 license = licenses.mit; 42 maintainers = with maintainers; [ fab ]; 43 }; 44}