Unverified Commit 410cae13 authored by Fabian Affolter's avatar Fabian Affolter Committed by GitHub
Browse files

python3Packages.async-modbus: 0.2.2 -> 0.2.3 (#454583)

parents 16eae008 b7507020
Loading
Loading
Loading
Loading
+7 −9
Original line number Diff line number Diff line
@@ -7,23 +7,20 @@
  pytest-asyncio,
  pytest-cov-stub,
  pytestCheckHook,
  pythonOlder,
  setuptools,
  umodbus,
}:

buildPythonPackage rec {
  pname = "async-modbus";
  version = "0.2.2";
  format = "pyproject";

  disabled = pythonOlder "3.7";
  version = "0.2.3";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "tiagocoutinho";
    repo = "async_modbus";
    tag = "v${version}";
    hash = "sha256-xms2OfX5bHPXswwhLhyh6HFsm1YqDwKclUirxrgL4i0=";
    hash = "sha256-d4TTs3TtD/9eFdzXBaY+QeAMeRWTvsWeaxONeG0AXJU=";
  };

  patches = [
@@ -39,9 +36,9 @@ buildPythonPackage rec {
      --replace '"--durations=2", "--verbose"' ""
  '';

  nativeBuildInputs = [ setuptools ];
  build-system = [ setuptools ];

  propagatedBuildInputs = [
  dependencies = [
    connio
    umodbus
  ];
@@ -57,7 +54,8 @@ buildPythonPackage rec {
  meta = with lib; {
    description = "Library for Modbus communication";
    homepage = "https://github.com/tiagocoutinho/async_modbus";
    license = with licenses; [ gpl3Plus ];
    changelog = "https://github.com/tiagocoutinho/async_modbus/releases/tag/${src.tag}";
    license = licenses.gpl3Plus;
    maintainers = with maintainers; [ fab ];
  };
}