python313Packages.pymonoprice: init at 0.5 (#428764)

This commit is contained in:
Martin Weinelt 2025-07-29 00:35:13 +02:00 committed by GitHub
commit 66f640b7ff
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 46 additions and 1 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

@ -3693,7 +3693,8 @@
]; ];
"monoprice" = "monoprice" =
ps: with ps; [ ps: with ps; [
]; # missing inputs: pymonoprice pymonoprice
];
"monzo" = "monzo" =
ps: with ps; [ ps: with ps; [
monzopy monzopy
@ -7319,6 +7320,7 @@
"modem_callerid" "modem_callerid"
"modern_forms" "modern_forms"
"mold_indicator" "mold_indicator"
"monoprice"
"monzo" "monzo"
"moon" "moon"
"mopeka" "mopeka"

View File

@ -13277,6 +13277,8 @@ self: super: with self; {
pymongo-inmemory = callPackage ../development/python-modules/pymongo-inmemory { }; pymongo-inmemory = callPackage ../development/python-modules/pymongo-inmemory { };
pymonoprice = callPackage ../development/python-modules/pymonoprice { };
pymoo = callPackage ../development/python-modules/pymoo { }; pymoo = callPackage ../development/python-modules/pymoo { };
pymorphy2 = callPackage ../development/python-modules/pymorphy2 { }; pymorphy2 = callPackage ../development/python-modules/pymorphy2 { };