159e378cbb
GitOrigin-RevId: c04d5652cfa9742b1d519688f65d1bbccea9eb7e
43 lines
913 B
Nix
43 lines
913 B
Nix
{
|
|
authlib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
lib,
|
|
poetry-core,
|
|
pytestCheckHook,
|
|
requests,
|
|
types-requests,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pyvicare-neo";
|
|
version = "0.3.0";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "CFenner";
|
|
repo = "PyViCare";
|
|
rev = "refs/tags/v${version}";
|
|
hash = "sha256-QjFrBf58uM5OProKsesyY43MuE1MnIVIVqs5rWUTmes=";
|
|
};
|
|
|
|
build-system = [ poetry-core ];
|
|
|
|
propagatedBuildInputs = [
|
|
authlib
|
|
requests
|
|
types-requests
|
|
];
|
|
|
|
pythonImportsCheck = [ "PyViCare" ];
|
|
|
|
nativeCheckInputs = [ pytestCheckHook ];
|
|
|
|
meta = {
|
|
changelog = "https://github.com/CFenner/PyViCare/releases/tag/v${version}";
|
|
description = "Library to communicate with the Viessmann ViCare API";
|
|
homepage = "https://github.com/CFenner/PyViCare";
|
|
license = lib.licenses.asl20;
|
|
maintainers = with lib.maintainers; [ dotlambda ];
|
|
};
|
|
}
|