depot/third_party/nixpkgs/pkgs/development/python-modules/pyvicare-neo/default.nix
Default email 159e378cbb Project import generated by Copybara.
GitOrigin-RevId: c04d5652cfa9742b1d519688f65d1bbccea9eb7e
2024-09-19 17:19:46 +03:00

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 ];
};
}