Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.09 677 B view raw
1{ stdenv, buildPythonPackage, fetchPypi, isPy3k, certifi, six 2, setuptools_scm 3}: 4 5buildPythonPackage rec { 6 pname = "pylast"; 7 version = "3.3.0"; 8 9 disabled = !isPy3k; 10 11 src = fetchPypi { 12 inherit pname version; 13 sha256 = "1wqd23bbk5si2mcmswsi486zqnydjjf8g7924gcz6cc1x036lasd"; 14 }; 15 16 nativeBuildInputs = [ setuptools_scm ]; 17 propagatedBuildInputs = [ certifi six ]; 18 19 # tests require last.fm credentials 20 doCheck = false; 21 22 meta = with stdenv.lib; { 23 homepage = "https://github.com/pylast/pylast"; 24 description = "A python interface to last.fm (and compatibles)"; 25 license = licenses.asl20; 26 maintainers = with maintainers; [ rvolosatovs ]; 27 }; 28}