depot/third_party/nixpkgs/pkgs/development/python-modules/pymediaroom/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

36 lines
724 B
Nix

{
lib,
async-timeout,
buildPythonPackage,
fetchPypi,
pythonOlder,
xmltodict,
}:
buildPythonPackage rec {
pname = "pymediaroom";
version = "0.6.5.4";
format = "setuptools";
disabled = pythonOlder "3.5";
src = fetchPypi {
inherit pname version;
hash = "sha256-CZh2knpLT7xt5s6+kTQ4Mq9LcpKgWvgdFCkPtMucJTM=";
};
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 ];
};
}