python3Packages.pyvicare: init at 0.2.5
This commit is contained in:
35
pkgs/development/python-modules/pyvicare/default.nix
Normal file
35
pkgs/development/python-modules/pyvicare/default.nix
Normal file
@@ -0,0 +1,35 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pythonOlder
|
||||
, requests_oauthlib
|
||||
, simplejson
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pyvicare";
|
||||
version = "0.2.5";
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
pname = "PyViCare";
|
||||
inherit version;
|
||||
sha256 = "16wqqjs238ad6znlz2gjadqj8891226bd02a1106xyz6vbbk2gdk";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
requests_oauthlib
|
||||
simplejson
|
||||
];
|
||||
|
||||
# The published tarball on PyPI is incomplete and there are GitHub releases
|
||||
doCheck = false;
|
||||
pythonImportsCheck = [ "PyViCare" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python Library to access Viessmann ViCare API";
|
||||
homepage = "https://github.com/somm15/PyViCare";
|
||||
license = with licenses; [ asl20 ];
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user