nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at 22.05 37 lines 710 B view raw
1{ lib 2, aiohttp 3, buildPythonPackage 4, fetchFromGitHub 5, pythonOlder 6, yarl 7}: 8 9buildPythonPackage rec { 10 pname = "aiotractive"; 11 version = "0.5.4"; 12 disabled = pythonOlder "3.7"; 13 14 src = fetchFromGitHub { 15 owner = "zhulik"; 16 repo = pname; 17 rev = "v${version}"; 18 sha256 = "sha256-pcGUl8mq1O1QY5EPkNhWRLCKDn2FWAF9XymXkUXWEUk="; 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 description = "Python client for the Tractive REST API"; 33 homepage = "https://github.com/zhulik/aiotractive"; 34 license = licenses.mit; 35 maintainers = with maintainers; [ fab ]; 36 }; 37}