blob: c082e7bd75ce805e1dcd94874d24ea86c6676072 (
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
|
{
lib,
aiohttp,
buildPythonPackage,
fetchFromGitHub,
hatchling,
}:
buildPythonPackage rec {
pname = "pybravia";
version = "0.4.1";
pyproject = true;
src = fetchFromGitHub {
owner = "Drafteed";
repo = "pybravia";
tag = "v${version}";
hash = "sha256-VNdjdNmWcl8s1jRlA40DHlku3CPL59nJ4pZklZ452FU=";
};
build-system = [ hatchling ];
dependencies = [ aiohttp ];
# Module has no tests
doCheck = false;
pythonImportsCheck = [ "pybravia" ];
meta = {
description = "Library for remote control of Sony Bravia TVs 2013 and newer";
homepage = "https://github.com/Drafteed/pybravia";
changelog = "https://github.com/Drafteed/pybravia/releases/tag/${src.tag}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ fab ];
};
}
|