2020-09-25 04:45:31 +00:00
|
|
|
{ stdenv, fetchPypi, buildPythonPackage, pythonOlder, aiohttp }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pysqueezebox";
|
2020-12-07 07:45:13 +00:00
|
|
|
version = "0.5.5";
|
2020-09-25 04:45:31 +00:00
|
|
|
disabled = pythonOlder "3.6";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-12-07 07:45:13 +00:00
|
|
|
sha256 = "93e6a3824b560d4ea2b2e5f0a67fdf3b309b6194fbf9927e44fc0d12c7fdc6c0";
|
2020-09-25 04:45:31 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
aiohttp
|
|
|
|
];
|
|
|
|
|
|
|
|
# No tests in the Pypi distribution
|
|
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "pysqueezebox" ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Asynchronous library to control Logitech Media Server";
|
|
|
|
homepage = "https://github.com/rajlaud/pysqueezebox";
|
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = with maintainers; [ nyanloutre ];
|
|
|
|
};
|
|
|
|
}
|