1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 setuptools,
6}:
7
8buildPythonPackage rec {
9 pname = "tellcore-net";
10 version = "0.4";
11 pyproject = true;
12
13 src = fetchFromGitHub {
14 owner = "home-assistant-libs";
15 repo = "tellcore-net";
16 tag = version;
17 hash = "sha256-yMNAu8iSFB2UDqJR3u2XFelpGRKzi/3HyuEbrZK6v8g=";
18 };
19
20 build-system = [ setuptools ];
21
22 # Module has no tests
23 doCheck = false;
24
25 pythonImportsCheck = [ "tellcorenet" ];
26
27 meta = {
28 description = "Python module that allows to run tellcore over TCP/IP";
29 homepage = "https://github.com/home-assistant-libs/tellcore-net";
30 changelog = "https://github.com/home-assistant-libs/tellcore-net/releases/tag/${version}";
31 license = lib.licenses.bsd3;
32 maintainers = [ lib.maintainers.jamiemagee ];
33 };
34}