blob: 5baae3a107e8eb0772af8809f330cf4ce5625216 (
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,
fetchFromGitHub,
buildPythonPackage,
requests,
pytest,
flask,
isPy27,
}:
buildPythonPackage rec {
version = "4.1";
format = "setuptools";
pname = "roku";
disabled = isPy27;
src = fetchFromGitHub {
owner = "jcarbaugh";
repo = "python-roku";
rev = "v${version}";
sha256 = "09mq59kjll7gj1srw4qc921ncsm7cld95sbz5v3p2bwmgckpqza7";
};
propagatedBuildInputs = [ requests ];
nativeCheckInputs = [
pytest
flask
];
pythonImportsCheck = [ "roku" ];
meta = {
description = "Screw remotes. Control your Roku with Python";
homepage = "https://github.com/jcarbaugh/python-roku";
license = lib.licenses.bsd3;
};
}
|