blob: 31a7d6528bbd95d079cda009b1f36d36d080aa9c (
plain) (
blame)
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
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
pythonOlder,
requests,
}:
buildPythonPackage rec {
pname = "bravia-tv";
version = "1.0.11";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "dcnielsen90";
repo = "python-bravia-tv";
rev = "v${version}";
hash = "sha256-g47bDd5bZl0jad3o6T1jJLcnZj8nx944kz3Vxv8gD2U=";
};
propagatedBuildInputs = [ requests ];
# Package does not include tests
doCheck = false;
pythonImportsCheck = [ "bravia_tv" ];
meta = with lib; {
homepage = "https://github.com/dcnielsen90/python-bravia-tv";
description = "Python library for Sony Bravia TV remote control";
license = licenses.mit;
maintainers = with maintainers; [ colemickens ];
};
}
|