Diff: https://github.com/michaelarnauts/comfoconnect/compare/refs/tags/0.4...0.5.1 Changelog: https://github.com/michaelarnauts/comfoconnect/releases/tag/0.5.1
41 lines
888 B
Nix
41 lines
888 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchFromGitHub
|
|
, protobuf
|
|
, pythonOlder
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pycomfoconnect";
|
|
version = "0.5.1";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.9";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "michaelarnauts";
|
|
repo = "comfoconnect";
|
|
rev = "refs/tags/${version}";
|
|
sha256 = "sha256-I/0vCgSEi6mgYg1fMH4Ha7PoonewtqYYsvXZT8y4rJE=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
protobuf
|
|
];
|
|
|
|
# Project has no tests
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [
|
|
"pycomfoconnect"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Python module to interact with ComfoAir Q350/450/600 units";
|
|
homepage = "https://github.com/michaelarnauts/comfoconnect";
|
|
changelog = "https://github.com/michaelarnauts/comfoconnect/releases/tag/${version}";
|
|
license = with licenses; [ mit ];
|
|
maintainers = with maintainers; [ fab ];
|
|
};
|
|
}
|