Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib 2, buildPythonPackage 3, fetchPypi 4, aiohttp 5, async-timeout 6}: 7 8buildPythonPackage rec { 9 pname = "ambiclimate"; 10 version = "0.2.1"; 11 12 src = fetchPypi { 13 pname = "Ambiclimate"; 14 inherit version; 15 sha256 = "0vhmpazc2n7qyyh7wqsz635w0f8afk2i5d592ikb84bgnfn83483"; 16 }; 17 18 propagatedBuildInputs = [ 19 aiohttp 20 async-timeout 21 ]; 22 23 # tests are not present 24 doCheck = false; 25 26 pythonImportsCheck = [ "ambiclimate" ]; 27 28 meta = with lib; { 29 description = "Python library to communicate with ambiclimate"; 30 homepage = "https://github.com/Danielhiversen/pyAmbiclimate"; 31 license = with licenses; [ mit ]; 32 maintainers = with maintainers; [ fab ]; 33 }; 34}