blob: 6198bd8a8dc29bee2cb70511d80e4e13e8404d95 (
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
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
requests,
}:
buildPythonPackage (finalAttrs: {
pname = "bravia-tv";
version = "1.0.11";
pyproject = true;
__structuredAttrs = true;
src = fetchFromGitHub {
owner = "dcnielsen90";
repo = "python-bravia-tv";
tag = "v${finalAttrs.version}";
hash = "sha256-g47bDd5bZl0jad3o6T1jJLcnZj8nx944kz3Vxv8gD2U=";
};
build-system = [ setuptools ];
dependencies = [ requests ];
# Package does not include tests
doCheck = false;
pythonImportsCheck = [ "bravia_tv" ];
meta = {
homepage = "https://github.com/dcnielsen90/python-bravia-tv";
description = "Python library for Sony Bravia TV remote control";
license = lib.licenses.mit;
maintainers = [ ];
};
})
|