python3Packages.pymochad: init at 0.3.0 (#432688)

This commit is contained in:
Martin Weinelt
2025-08-11 13:03:01 +02:00
committed by GitHub
3 changed files with 59 additions and 1 deletions
@@ -0,0 +1,54 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
pbr,
setuptools,
six,
pytestCheckHook,
mock,
fixtures,
testtools,
}:
buildPythonPackage rec {
pname = "pymochad";
version = "0.3.0";
pyproject = true;
src = fetchFromGitHub {
owner = "mtreinish";
repo = "pymochad";
tag = version;
hash = "sha256-nwh97sbYkt4F/u02zTDemWEztSco27oJCemd6kTnCMk=";
};
env.PBR_VERSION = version;
build-system = [
pbr
setuptools
];
dependencies = [
six
];
nativeCheckInputs = [
pytestCheckHook
mock
fixtures
testtools
];
pythonImportsCheck = [
"pymochad"
];
meta = {
description = "Python library for sending commands to the mochad TCP gateway daemon for the X10 CMA15A controller";
homepage = "https://github.com/mtreinish/pymochad";
license = lib.licenses.gpl3Only;
maintainers = [ lib.maintainers.jamiemagee ];
};
}
@@ -3680,7 +3680,8 @@
];
"mochad" =
ps: with ps; [
]; # missing inputs: pymochad
pymochad
];
"modbus" =
ps: with ps; [
pymodbus
@@ -7373,6 +7374,7 @@
"mjpeg"
"moat"
"mobile_app"
"mochad"
"modbus"
"modem_callerid"
"modern_forms"
+2
View File
@@ -13298,6 +13298,8 @@ self: super: with self; {
pymitv = callPackage ../development/python-modules/pymitv { };
pymochad = callPackage ../development/python-modules/pymochad { };
pymodbus = callPackage ../development/python-modules/pymodbus { };
pymodbus-repl = callPackage ../development/python-modules/pymodbus-repl { };