Merge pull request #204268 from fabaff/pycomfoconnect-bump

python310Packages.pycomfoconnect: 0.4 -> 0.5.1
This commit is contained in:
Fabian Affolter 2022-12-03 19:43:05 +01:00 committed by GitHub
commit 94306da1a4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,17 +2,21 @@
, buildPythonPackage , buildPythonPackage
, fetchFromGitHub , fetchFromGitHub
, protobuf , protobuf
, pythonOlder
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "pycomfoconnect"; pname = "pycomfoconnect";
version = "0.4"; version = "0.5.1";
format = "setuptools";
disabled = pythonOlder "3.9";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "michaelarnauts"; owner = "michaelarnauts";
repo = "comfoconnect"; repo = "comfoconnect";
rev = version; rev = "refs/tags/${version}";
sha256 = "0bipzv68yw056iz9m2g9h40hzrwd058a7crxp0xbq4rw2d8j0jn6"; sha256 = "sha256-I/0vCgSEi6mgYg1fMH4Ha7PoonewtqYYsvXZT8y4rJE=";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [
@ -22,11 +26,14 @@ buildPythonPackage rec {
# Project has no tests # Project has no tests
doCheck = false; doCheck = false;
pythonImportsCheck = [ "pycomfoconnect" ]; pythonImportsCheck = [
"pycomfoconnect"
];
meta = with lib; { meta = with lib; {
description = "Python module to interact with ComfoAir Q350/450/600 units"; description = "Python module to interact with ComfoAir Q350/450/600 units";
homepage = "https://github.com/michaelarnauts/comfoconnect"; homepage = "https://github.com/michaelarnauts/comfoconnect";
changelog = "https://github.com/michaelarnauts/comfoconnect/releases/tag/${version}";
license = with licenses; [ mit ]; license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ]; maintainers = with maintainers; [ fab ];
}; };