1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 setuptools, 6 mashumaro, 7 requests, 8}: 9 10buildPythonPackage rec { 11 pname = "py-opensonic"; 12 version = "7.0.2"; 13 pyproject = true; 14 15 src = fetchFromGitHub { 16 owner = "khers"; 17 repo = "py-opensonic"; 18 tag = "v${version}"; 19 hash = "sha256-t+MftumVBcIOO8WvWZcLXLp5Iq87Vpvqc4cxH+yTBAo="; 20 }; 21 22 build-system = [ setuptools ]; 23 24 dependencies = [ 25 mashumaro 26 requests 27 ]; 28 29 doCheck = false; # no tests 30 31 pythonImportsCheck = [ 32 "libopensonic" 33 ]; 34 35 meta = with lib; { 36 description = "Python library to wrap the Open Subsonic REST API"; 37 homepage = "https://github.com/khers/py-opensonic"; 38 changelog = "https://github.com/khers/py-opensonic/blob/${src.rev}/CHANGELOG.md"; 39 license = licenses.gpl3Only; 40 maintainers = with maintainers; [ hexa ]; 41 }; 42}