Commit 5e84f4cb authored by Jamie Magee's avatar Jamie Magee
Browse files

python313Packages.pymonoprice: init at 0.5

parent e960a8fb
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 ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -13267,6 +13267,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 { };