python3Packages.pymochad: init at 0.3.0

This commit is contained in:
Jamie Magee
2025-08-10 20:57:43 -07:00
parent 44d0466409
commit 3d69b45f89
2 changed files with 56 additions and 0 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 ];
};
}
+2
View File
@@ -13296,6 +13296,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 { };