Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.09 650 B view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, oauthlib 5, requests 6, requests_oauthlib 7}: 8 9buildPythonPackage rec { 10 pname = "pyatmo"; 11 version = "4.0.0"; 12 13 src = fetchPypi { 14 inherit pname version; 15 sha256 = "148713395d51a57f1f3102eacbb9286a859fc5c18c066238a961a1acf189b930"; 16 }; 17 18 propagatedBuildInputs = [ oauthlib requests requests_oauthlib ]; 19 20 # Upstream provides no unit tests. 21 doCheck = false; 22 23 meta = with lib; { 24 description = "Simple API to access Netatmo weather station data"; 25 license = licenses.mit; 26 homepage = "https://github.com/jabesq/netatmo-api-python"; 27 maintainers = with maintainers; [ delroth ]; 28 }; 29}