Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 21.05 32 lines 669 B view raw
1{ lib 2, aiohttp 3, buildPythonPackage 4, fetchFromGitHub 5}: 6 7buildPythonPackage rec { 8 pname = "pyintesishome"; 9 version = "1.7.7"; 10 11 src = fetchFromGitHub { 12 owner = "jnimmo"; 13 repo = "pyIntesisHome"; 14 rev = version; 15 sha256 = "1wjh6bib6bg9rf4q9z6dlrf3gncj859hz4i20a9w06jci7b2yaaz"; 16 }; 17 18 propagatedBuildInputs = [ 19 aiohttp 20 ]; 21 22 # Project has no tests 23 doCheck = false; 24 pythonImportsCheck = [ "pyintesishome" ]; 25 26 meta = with lib; { 27 description = "Python interface for IntesisHome devices"; 28 homepage = "https://github.com/jnimmo/pyIntesisHome"; 29 license = with licenses; [ mit ]; 30 maintainers = with maintainers; [ fab ]; 31 }; 32}