diff --git a/pkgs/development/python-modules/tellcore-net/default.nix b/pkgs/development/python-modules/tellcore-net/default.nix new file mode 100644 index 000000000000..4e513953e9da --- /dev/null +++ b/pkgs/development/python-modules/tellcore-net/default.nix @@ -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 ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index e722cfc7ae0c..09a2c7a229a3 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -17907,6 +17907,8 @@ self: super: with self; { telfhash = callPackage ../development/python-modules/telfhash { }; + tellcore-net = callPackage ../development/python-modules/tellcore-net { }; + tellduslive = callPackage ../development/python-modules/tellduslive { }; temescal = callPackage ../development/python-modules/temescal { };