Commit 38fb09df authored by Otavio Salvador's avatar Otavio Salvador
Browse files

python312Packages.smpclient: init at 4.4.2

parent 81c43425
Loading
Loading
Loading
Loading
+59 −0
Original line number Diff line number Diff line
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  poetry-core,
  async-timeout,
  bleak,
  intelhex,
  pyserial,
  smp,
  pytest-asyncio,
  pytestCheckHook,
}:

buildPythonPackage rec {
  pname = "smpclient";
  version = "4.4.2";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "intercreate";
    repo = "smpclient";
    tag = version;
    hash = "sha256-qbf0xGK1RYaeEIAsbkZ2cWj/MQrmVwm2IKmOkihxBDE=";
  };

  build-system = [
    poetry-core
  ];

  dependencies = [
    async-timeout
    bleak
    intelhex
    pyserial
    smp
  ];

  nativeCheckInputs = [
    pytest-asyncio
    pytestCheckHook
  ];

  pythonRelaxDeps = [
    "smp"
  ];

  pythonImportsCheck = [
    "smpclient"
  ];

  meta = {
    description = "Simple Management Protocol (SMP) Client for remotely managing MCU firmware";
    homepage = "https://github.com/intercreate/smpclient";
    changelog = "https://github.com/intercreate/smpclient/releases/tag/${version}";
    license = lib.licenses.asl20;
    maintainers = with lib.maintainers; [ otavio ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -15854,6 +15854,8 @@ self: super: with self; {
  smp = callPackage ../development/python-modules/smp { };
  smpclient = callPackage ../development/python-modules/smpclient { };
  smpp-pdu = callPackage ../development/python-modules/smpp-pdu { };
  smpplib = callPackage ../development/python-modules/smpplib { };