blob: 84b4a8a1b85cc93f9a3e97337738d9966365510d (
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
46
47
48
49
50
51
52
53
54
55
56
|
{
lib,
fetchFromGitHub,
setuptools,
requests,
ssdpy,
appdirs,
pygobject3,
gobject-introspection,
gtk3,
wrapGAppsHook3,
buildPythonPackage,
buildApplication ? false,
}:
buildPythonPackage rec {
pname = "controku";
version = "1.1.0";
pyproject = true;
src = fetchFromGitHub {
owner = "benthetechguy";
repo = "controku";
rev = version;
hash = "sha256-sye2GtL3a77pygllZc6ylaIP7faPb+NFbyKKyqJzIXw=";
};
nativeBuildInputs = [
setuptools
]
++ lib.optionals buildApplication [
gobject-introspection
wrapGAppsHook3
];
propagatedBuildInputs = [
requests
ssdpy
]
++ lib.optionals buildApplication [
gtk3
appdirs
pygobject3
];
pythonImportsCheck = [ "controku" ];
meta = {
changelog = "https://github.com/benthetechguy/controku/releases/tag/${version}";
description = "Control Roku devices from the comfort of your own desktop";
mainProgram = "controku";
homepage = "https://github.com/benthetechguy/controku";
license = lib.licenses.gpl3Only;
maintainers = with lib.maintainers; [ mjm ];
};
}
|