Unverified Commit 66f640b7 authored by Martin Weinelt's avatar Martin Weinelt Committed by GitHub
Browse files

python313Packages.pymonoprice: init at 0.5 (#428764)

parents de5e499d 19de23bc
Loading
Loading
Loading
Loading
+41 −0
Original line number Diff line number Diff line
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  pyserial,
  pyserial-asyncio-fast,
  pytestCheckHook,
  setuptools,
}:

buildPythonPackage rec {
  pname = "pymonoprice";
  version = "0.5";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "etsinko";
    repo = "pymonoprice";
    tag = version;
    hash = "sha256-kyFOWG/Jvn+h9ludzd2Zul9/lkwPxReH76nnDIGD+fM=";
  };

  build-system = [ setuptools ];

  dependencies = [
    pyserial
    pyserial-asyncio-fast
  ];

  nativeCheckInputs = [ pytestCheckHook ];

  pythonImportsCheck = [ "pymonoprice" ];

  meta = {
    description = "Python 3 interface implementation for Monoprice 6 zone amplifier";
    homepage = "https://github.com/etsinko/pymonoprice";
    changelog = "https://github.com/etsinko/pymonoprice/releases/tag/${version}";
    license = lib.licenses.mit;
    maintainers = [ lib.maintainers.jamiemagee ];
  };
}
+3 −1
Original line number Diff line number Diff line
@@ -3693,7 +3693,8 @@
      ];
    "monoprice" =
      ps: with ps; [
      ]; # missing inputs: pymonoprice
        pymonoprice
      ];
    "monzo" =
      ps: with ps; [
        monzopy
@@ -7319,6 +7320,7 @@
    "modem_callerid"
    "modern_forms"
    "mold_indicator"
    "monoprice"
    "monzo"
    "moon"
    "mopeka"
+2 −0
Original line number Diff line number Diff line
@@ -13277,6 +13277,8 @@ self: super: with self; {
  pymongo-inmemory = callPackage ../development/python-modules/pymongo-inmemory { };
  pymonoprice = callPackage ../development/python-modules/pymonoprice { };
  pymoo = callPackage ../development/python-modules/pymoo { };
  pymorphy2 = callPackage ../development/python-modules/pymorphy2 { };