2021-01-25 08:26:54 +00:00
|
|
|
{ lib, fetchPypi, buildPythonPackage, pythonOlder, aiohttp }:
|
2020-08-30 19:55:03 +01:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pysqueezebox";
|
2020-11-29 14:04:39 +00:00
|
|
|
version = "0.5.5";
|
2020-08-30 19:55:03 +01:00
|
|
|
disabled = pythonOlder "3.6";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-11-29 14:04:39 +00:00
|
|
|
sha256 = "93e6a3824b560d4ea2b2e5f0a67fdf3b309b6194fbf9927e44fc0d12c7fdc6c0";
|
2020-08-30 19:55:03 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
aiohttp
|
|
|
|
];
|
|
|
|
|
|
|
|
# No tests in the Pypi distribution
|
|
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "pysqueezebox" ];
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-08-30 19:55:03 +01:00
|
|
|
description = "Asynchronous library to control Logitech Media Server";
|
|
|
|
homepage = "https://github.com/rajlaud/pysqueezebox";
|
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = with maintainers; [ nyanloutre ];
|
|
|
|
};
|
|
|
|
}
|