14 buildPythonPackage rec {
15 pname = "pysqueezebox";
19 disabled = pythonOlder "3.10";
21 src = fetchFromGitHub {
23 repo = "pysqueezebox";
24 rev = "refs/tags/v${version}";
25 hash = "sha256-xi+mjrEF581NL8iRlEijKEO1CgXUr+u5hgq6UJWfoXA=";
28 build-system = [ setuptools ];
40 pythonImportsCheck = [ "pysqueezebox" ];
42 disabledTests = lib.optionals (pythonAtLeast "3.12") [
43 # AttributeError: 'has_calls' is not a valid assertion. Use a spec for the mock if 'has_calls' is meant to be an attribute.
48 # Tests require network access
49 "tests/test_integration.py"
53 description = "Asynchronous library to control Logitech Media Server";
54 homepage = "https://github.com/rajlaud/pysqueezebox";
55 changelog = "https://github.com/rajlaud/pysqueezebox/releases/tag/v${version}";
56 license = licenses.asl20;
57 maintainers = with maintainers; [ nyanloutre ];