Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 21.05 36 lines 722 B view raw
1{ lib 2, aiohttp 3, async-timeout 4, buildPythonPackage 5, fetchFromGitHub 6, isPy3k 7}: 8 9buildPythonPackage rec { 10 pname = "pyeight"; 11 version = "0.1.5"; 12 disabled = !isPy3k; 13 14 src = fetchFromGitHub { 15 owner = "mezz64"; 16 repo = "pyEight"; 17 rev = version; 18 sha256 = "1wzmjqs8zx611b71ip7a0phyas96vxpq8xpnhrirfi9l09kdjgsw"; 19 }; 20 21 propagatedBuildInputs = [ 22 aiohttp 23 async-timeout 24 ]; 25 26 # Project has no tests 27 doCheck = false; 28 pythonImportsCheck = [ "pyeight" ]; 29 30 meta = with lib; { 31 description = "Python library to interface with the Eight Sleep API"; 32 homepage = "https://github.com/mezz64/pyEight"; 33 license = with licenses; [ mit ]; 34 maintainers = with maintainers; [ fab ]; 35 }; 36}