Unverified Commit 77ec1772 authored by Fabian Affolter's avatar Fabian Affolter Committed by GitHub
Browse files

Merge pull request #221463 from fabaff/pyblackbird-bump

python310Packages.pyblackbird: 0.5 -> 0.6
parents d582fac7 a8142764
Loading
Loading
Loading
Loading
+12 −4
Original line number Diff line number Diff line
@@ -3,17 +3,21 @@
, fetchFromGitHub
, pyserial
, pyserial-asyncio
, pythonOlder
}:

buildPythonPackage rec {
  pname = "pyblackbird";
  version = "0.5";
  version = "0.6";
  format = "setuptools";

  disabled = pythonOlder "3.7";

  src = fetchFromGitHub {
    owner = "koolsb";
    repo = pname;
    rev = version;
    sha256 = "0m1yd1cb3z8011x7nicxpf091bdcwghcphn0l21c65f71rabzg6s";
    rev = "refs/tags/${version}";
    hash = "sha256-+ehzrr+RrwFKOOuxBq3+mwnuMPxZFV4QTZG1IRgsbLc=";
  };

  propagatedBuildInputs = [
@@ -23,11 +27,15 @@ buildPythonPackage rec {

  # Test setup try to create a serial port
  doCheck = false;
  pythonImportsCheck = [ "pyblackbird" ];

  pythonImportsCheck = [
    "pyblackbird"
  ];

  meta = with lib; {
    description = "Python implementation for Monoprice Blackbird units";
    homepage = "https://github.com/koolsb/pyblackbird";
    changelog = "https://github.com/koolsb/pyblackbird/releases/tag/${version}";
    license = with licenses; [ mit ];
    maintainers = with maintainers; [ fab ];
  };