Merge pull request #114757 from fabaff/pymediaroom

This commit is contained in:
Sandro 2021-03-01 16:57:53 +01:00 committed by GitHub
commit 6148f08e0f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 39 additions and 1 deletions

View file

@ -0,0 +1,36 @@
{ lib
, async-timeout
, buildPythonPackage
, fetchFromGitHub
, pythonOlder
, xmltodict
}:
buildPythonPackage rec {
pname = "pymediaroom";
version = "0.6.4.1";
disabled = pythonOlder "3.5";
src = fetchFromGitHub {
owner = "dgomes";
repo = pname;
rev = version;
sha256 = "1klf2dxd8rlq3n4b9m03lzwcsasn9vi6m3hzrjqhqnprhrnp0xmy";
};
propagatedBuildInputs = [
async-timeout
xmltodict
];
# Project has no tests
doCheck = false;
pythonImportsCheck = [ "pymediaroom" ];
meta = with lib; {
description = "Python Remote Control for Mediaroom STB";
homepage = "https://github.com/dgomes/pymediaroom";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}

View file

@ -480,7 +480,7 @@
"media_extractor" = ps: with ps; [ aiohttp-cors youtube-dl-light ];
"media_player" = ps: with ps; [ aiohttp-cors ];
"media_source" = ps: with ps; [ aiohttp-cors ];
"mediaroom" = ps: with ps; [ ]; # missing inputs: pymediaroom
"mediaroom" = ps: with ps; [ pymediaroom ];
"melcloud" = ps: with ps; [ ]; # missing inputs: pymelcloud
"melissa" = ps: with ps; [ ]; # missing inputs: py-melissa-climate
"meraki" = ps: with ps; [ aiohttp-cors ];

View file

@ -5710,6 +5710,8 @@ in {
pymediainfo = callPackage ../development/python-modules/pymediainfo { };
pymediaroom = callPackage ../development/python-modules/pymediaroom { };
pymeeus = callPackage ../development/python-modules/pymeeus { };
pymemoize = callPackage ../development/python-modules/pymemoize { };