Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 21.05 35 lines 772 B view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, pythonOlder 5, requests_oauthlib 6, simplejson 7}: 8 9buildPythonPackage rec { 10 pname = "pyvicare"; 11 version = "0.2.5"; 12 disabled = pythonOlder "3.7"; 13 14 src = fetchPypi { 15 pname = "PyViCare"; 16 inherit version; 17 sha256 = "16wqqjs238ad6znlz2gjadqj8891226bd02a1106xyz6vbbk2gdk"; 18 }; 19 20 propagatedBuildInputs = [ 21 requests_oauthlib 22 simplejson 23 ]; 24 25 # The published tarball on PyPI is incomplete and there are GitHub releases 26 doCheck = false; 27 pythonImportsCheck = [ "PyViCare" ]; 28 29 meta = with lib; { 30 description = "Python Library to access Viessmann ViCare API"; 31 homepage = "https://github.com/somm15/PyViCare"; 32 license = with licenses; [ asl20 ]; 33 maintainers = with maintainers; [ fab ]; 34 }; 35}