diff --git a/pkgs/development/python-modules/pymediaroom/default.nix b/pkgs/development/python-modules/pymediaroom/default.nix new file mode 100644 index 000000000000..e977cb23d752 --- /dev/null +++ b/pkgs/development/python-modules/pymediaroom/default.nix @@ -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 ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 205813ddb1c5..06e7d0fcd826 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -5704,6 +5704,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 { };