1{ lib, fetchPypi, buildPythonPackage, pythonOlder, aiohttp }:
2
3buildPythonPackage rec {
4 pname = "pysqueezebox";
5 version = "0.5.5";
6 disabled = pythonOlder "3.6";
7
8 src = fetchPypi {
9 inherit pname version;
10 sha256 = "93e6a3824b560d4ea2b2e5f0a67fdf3b309b6194fbf9927e44fc0d12c7fdc6c0";
11 };
12
13 propagatedBuildInputs = [
14 aiohttp
15 ];
16
17 # No tests in the Pypi distribution
18 doCheck = false;
19 pythonImportsCheck = [ "pysqueezebox" ];
20
21 meta = with lib; {
22 description = "Asynchronous library to control Logitech Media Server";
23 homepage = "https://github.com/rajlaud/pysqueezebox";
24 license = licenses.asl20;
25 maintainers = with maintainers; [ nyanloutre ];
26 };
27}