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