summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/pyitachip2ir/default.nix
blob: e74a2fb9ed97cea3e383e659f83841e9f0a10243 (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
{
  lib,
  buildPythonPackage,
  fetchPypi,
  setuptools,
}:

buildPythonPackage rec {
  pname = "pyitachip2ir";
  version = "0.0.7";
  pyproject = true;

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-T/Q3tZTTwqlaHDR2l2nRLISC4LLrOPZZv14sRxYyqDQ=";
  };

  build-system = [ setuptools ];

  # Package has no tests
  doCheck = false;

  pythonImportsCheck = [ "pyitachip2ir" ];

  meta = {
    description = "Library for sending IR commands to an ITach IP2IR gateway";
    homepage = "https://github.com/alanfischer/itachip2ir";
    license = lib.licenses.mit;
    maintainers = [ lib.maintainers.jamiemagee ];
  };
}