1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 pytestCheckHook,
6 setuptools,
7}:
8
9buildPythonPackage rec {
10 pname = "horimote";
11 version = "0.4.1";
12 pyproject = true;
13
14 src = fetchFromGitHub {
15 owner = "benleb";
16 repo = "horimote";
17 tag = "v${version}";
18 hash = "sha256-rEtE0Z/PV/n9pz2mLbHeREv/sl4SexTSOq2yx4LDnAo=";
19 };
20
21 build-system = [ setuptools ];
22
23 nativeCheckInputs = [ pytestCheckHook ];
24
25 pythonImportsCheck = [ "horimote" ];
26
27 meta = {
28 description = "Async API wrapper for Samsung's set-top boxes SMT-G7400 and SMT-G7401";
29 homepage = "https://github.com/benleb/horimote";
30 changelog = "https://github.com/benleb/horimote/releases/tag/v${version}";
31 license = lib.licenses.mit;
32 maintainers = [ lib.maintainers.jamiemagee ];
33 };
34}