1{ stdenv, buildPythonPackage, fetchPypi, certifi, six }: 2 3buildPythonPackage rec { 4 pname = "pylast"; 5 version = "1.9.0"; 6 name = "${pname}-${version}"; 7 8 src = fetchPypi { 9 inherit pname version; 10 sha256 = "ae1c4105cbe704d9ac10ba57ac4c26bc576cc33978f1b578101b20c6a2360ca4"; 11 }; 12 13 propagatedBuildInputs = [ certifi six ]; 14 15 # tests require last.fm credentials 16 doCheck = false; 17 18 meta = with stdenv.lib; { 19 homepage = https://github.com/pylast/pylast; 20 description = "A python interface to last.fm (and compatibles)"; 21 license = licenses.asl20; 22 maintainers = with maintainers; [ rvolosatovs ]; 23 }; 24}