python310Packages.python-velbus: 2.1.4 -> 2.1.9

This commit is contained in:
Fabian Affolter 2023-03-05 00:20:42 +01:00
parent 710635f625
commit 0305c482a9

View File

@ -1,18 +1,20 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, fetchPypi
, pyserial
, pythonOlder
}:
buildPythonPackage rec {
pname = "python-velbus";
version = "2.1.4";
version = "2.1.9";
format = "setuptools";
src = fetchFromGitHub {
owner = "thomasdelaet";
repo = pname;
rev = version;
sha256 = "1z0a7fc9xfrcpwi9xiimxsgbzbp2iwyi1rij6vqd5z47mzi49fv9";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-SbuECT6851E+QNyyPaNTnKmH54fYovemSto8gvfMIKg=";
};
propagatedBuildInputs = [
@ -22,7 +24,9 @@ buildPythonPackage rec {
# Project has not tests
doCheck = false;
pythonImportsCheck = [ "velbus" ];
pythonImportsCheck = [
"velbus"
];
meta = with lib; {
description = "Python library to control the Velbus home automation system";