1{ lib, buildPythonPackage, fetchPypi, isPy27 }: 2 3buildPythonPackage rec { 4 pname = "py-sonic"; 5 version = "0.7.9"; 6 disabled = isPy27; 7 8 src = fetchPypi { 9 inherit pname version; 10 sha256 = "1677b7287914567b5123de90ad872b441628d8a7777cf4a5f41671b813facf75"; 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}