summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/horimote/default.nix
blob: 17926647ab23e232fb2e67bf494c6741c76010d5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  pytestCheckHook,
  setuptools,
}:

buildPythonPackage rec {
  pname = "horimote";
  version = "0.4.1";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "benleb";
    repo = "horimote";
    tag = "v${version}";
    hash = "sha256-rEtE0Z/PV/n9pz2mLbHeREv/sl4SexTSOq2yx4LDnAo=";
  };

  build-system = [ setuptools ];

  nativeCheckInputs = [ pytestCheckHook ];

  pythonImportsCheck = [ "horimote" ];

  meta = {
    description = "Async API wrapper for Samsung's set-top boxes SMT-G7400 and SMT-G7401";
    homepage = "https://github.com/benleb/horimote";
    changelog = "https://github.com/benleb/horimote/releases/tag/v${version}";
    license = lib.licenses.mit;
    maintainers = [ lib.maintainers.jamiemagee ];
  };
}