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