1{ lib
2, async-timeout
3, buildPythonPackage
4, fetchFromGitHub
5, pythonOlder
6, xmltodict
7}:
8
9buildPythonPackage rec {
10 pname = "pymediaroom";
11 version = "0.6.4.1";
12 disabled = pythonOlder "3.5";
13
14 src = fetchFromGitHub {
15 owner = "dgomes";
16 repo = pname;
17 rev = version;
18 sha256 = "1klf2dxd8rlq3n4b9m03lzwcsasn9vi6m3hzrjqhqnprhrnp0xmy";
19 };
20
21 propagatedBuildInputs = [
22 async-timeout
23 xmltodict
24 ];
25
26 # Project has no tests
27 doCheck = false;
28 pythonImportsCheck = [ "pymediaroom" ];
29
30 meta = with lib; {
31 description = "Python Remote Control for Mediaroom STB";
32 homepage = "https://github.com/dgomes/pymediaroom";
33 license = with licenses; [ mit ];
34 maintainers = with maintainers; [ fab ];
35 };
36}