python3Packages.tellcore-net: init at 0.4 (#438108)
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
setuptools,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "tellcore-net";
|
||||
version = "0.4";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "home-assistant-libs";
|
||||
repo = "tellcore-net";
|
||||
tag = version;
|
||||
hash = "sha256-yMNAu8iSFB2UDqJR3u2XFelpGRKzi/3HyuEbrZK6v8g=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
# Module has no tests
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [ "tellcorenet" ];
|
||||
|
||||
meta = {
|
||||
description = "Python module that allows to run tellcore over TCP/IP";
|
||||
homepage = "https://github.com/home-assistant-libs/tellcore-net";
|
||||
changelog = "https://github.com/home-assistant-libs/tellcore-net/releases/tag/${version}";
|
||||
license = lib.licenses.bsd3;
|
||||
maintainers = [ lib.maintainers.jamiemagee ];
|
||||
};
|
||||
}
|
||||
@@ -0,0 +1,34 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
setuptools,
|
||||
pytestCheckHook,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "tellcore-py";
|
||||
version = "1.1.3";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "erijo";
|
||||
repo = "tellcore-py";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-AcdYMzd3Ln65PZ+weSxyR+CwXmdi2A+wSE6B/4hepE0=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
nativeCheckInputs = [ pytestCheckHook ];
|
||||
|
||||
pythonImportsCheck = [ "tellcore" ];
|
||||
|
||||
meta = {
|
||||
description = "Python wrapper for Telldus' home automation library";
|
||||
homepage = "https://github.com/erijo/tellcore-py";
|
||||
changelog = "https://github.com/erijo/tellcore-py/releases/tag/v${version}";
|
||||
license = lib.licenses.gpl3Plus;
|
||||
maintainers = [ lib.maintainers.jamiemagee ];
|
||||
};
|
||||
}
|
||||
@@ -5927,7 +5927,9 @@
|
||||
];
|
||||
"tellstick" =
|
||||
ps: with ps; [
|
||||
]; # missing inputs: tellcore-net tellcore-py
|
||||
tellcore-net
|
||||
tellcore-py
|
||||
];
|
||||
"telnet" =
|
||||
ps: with ps; [
|
||||
];
|
||||
|
||||
@@ -17913,6 +17913,10 @@ self: super: with self; {
|
||||
|
||||
telfhash = callPackage ../development/python-modules/telfhash { };
|
||||
|
||||
tellcore-net = callPackage ../development/python-modules/tellcore-net { };
|
||||
|
||||
tellcore-py = callPackage ../development/python-modules/tellcore-py { };
|
||||
|
||||
tellduslive = callPackage ../development/python-modules/tellduslive { };
|
||||
|
||||
temescal = callPackage ../development/python-modules/temescal { };
|
||||
|
||||
Reference in New Issue
Block a user