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