mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-23 14:13:35 +00:00
8af3673aef
Migrate to PyPi sdist because Git is missing tags.
35 lines
691 B
Nix
35 lines
691 B
Nix
{ lib
|
|
, async-timeout
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, pythonOlder
|
|
, xmltodict
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pymediaroom";
|
|
version = "0.6.5.4";
|
|
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 ];
|
|
};
|
|
}
|