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