1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 isPy27, 6}: 7 8buildPythonPackage rec { 9 pname = "py-sonic"; 10 version = "1.0.1"; 11 format = "setuptools"; 12 disabled = isPy27; 13 14 src = fetchPypi { 15 inherit pname version; 16 hash = "sha256-DU1T86T0jQ6ptkWdjuV70VC8MFx/rK5aQFYjbK6F2Hk="; 17 }; 18 19 # package has no tests 20 doCheck = false; 21 pythonImportsCheck = [ "libsonic" ]; 22 23 meta = with lib; { 24 homepage = "https://github.com/crustymonkey/py-sonic"; 25 description = "A python wrapper library for the Subsonic REST API"; 26 license = licenses.gpl3; 27 maintainers = with maintainers; [ wenngle ]; 28 }; 29}