summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/pypjlink2/default.nix
blob: 30d9e3c4d2a24838c24517a4dc4ef53fe4db0860 (about) (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
35
36
37
38
39
40
41
42
43
44
45
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  appdirs,
  pytestCheckHook,
  setuptools,
}:

buildPythonPackage rec {
  pname = "pypjlink2";
  version = "1.2.1";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "benoitlouy";
    repo = "pypjlink";
    tag = "v${version}";
    hash = "sha256-0RVI9DX5JaVWntSu5du5SU45NC70TZJyVrvMuVR7grA=";
  };

  build-system = [
    setuptools
  ];

  dependencies = [
    appdirs
  ];

  nativeCheckInputs = [
    pytestCheckHook
  ];

  pythonImportsCheck = [
    "pypjlink"
  ];

  meta = {
    description = "Python implementation of the PJLink protocol for controlling digital projectors";
    homepage = "https://github.com/benoitlouy/pypjlink";
    changelog = "https://github.com/benoitlouy/pypjlink/releases/tag/v${version}";
    license = lib.licenses.asl20;
    maintainers = [ lib.maintainers.jamiemagee ];
  };
}