python313Packages.pymonoprice: init at 0.5

This commit is contained in:
Jamie Magee 2025-07-26 21:27:29 -07:00
parent e960a8fb5b
commit 5e84f4cb0f
2 changed files with 43 additions and 0 deletions

View File

@ -0,0 +1,41 @@
{
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 ];
};
}

View File

@ -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 { };