Unverified Commit c52ca00b authored by Mario Rodas's avatar Mario Rodas Committed by GitHub
Browse files

Merge pull request #219592 from fabaff/python-velbus-bump

python310Packages.python-velbus: 2.1.4 -> 2.1.9
parents 9b96e87b 0305c482
Loading
Loading
Loading
Loading
+12 −8
Original line number Diff line number Diff line
{ 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";