Unverified Commit 45765b00 authored by Fabian Affolter's avatar Fabian Affolter Committed by GitHub
Browse files

Merge pull request #260838 from fabaff/pymodbus-bump

python311Packages.pymodbus: 3.5.2 -> 3.5.4
parents 99d3393c 06f24367
Loading
Loading
Loading
Loading
+11 −5
Original line number Diff line number Diff line
@@ -3,14 +3,15 @@
, buildPythonPackage
, click
, fetchFromGitHub
, mock
, prompt-toolkit
, pygments
, pyserial
, pytest-asyncio
, pytest-xdist
, pytestCheckHook
, pythonOlder
, redis
, setuptools
, sqlalchemy
, twisted
, typer
@@ -18,16 +19,22 @@

buildPythonPackage rec {
  pname = "pymodbus";
  version = "3.5.2";
  format = "setuptools";
  version = "3.5.4";
  pyproject = true;

  disabled = pythonOlder "3.8";

  src = fetchFromGitHub {
    owner = "pymodbus-dev";
    repo = pname;
    rev = "refs/tags/v${version}";
    hash = "sha256-FOmR9yqLagqcsAVxqHxziEcnZ5M9QpL2qIp8x2gS2PU=";
    hash = "sha256-IgGDYNIRS39t8vHkJSGnDGCTKxpeIYZyedLzyS5pOI0=";
  };

  nativeBuildInputs = [
    setuptools
  ];

  passthru.optional-dependencies = {
    repl = [
      aiohttp
@@ -42,7 +49,6 @@ buildPythonPackage rec {
  };

  nativeCheckInputs = [
    mock
    pytest-asyncio
    pytest-xdist
    pytestCheckHook