1{ lib 2, buildPythonPackage 3, certifi 4, fetchPypi 5, flaky 6, pytestCheckHook 7, pythonOlder 8, setuptools-scm 9, six 10}: 11 12buildPythonPackage rec { 13 pname = "pylast"; 14 version = "4.3.0"; 15 disabled = pythonOlder "3.6"; 16 17 src = fetchPypi { 18 inherit pname version; 19 sha256 = "71fd876e3753009bd10ea55b3f8f7c5d68591ee18a4127d257fc4a418010aa5c"; 20 }; 21 22 nativeBuildInputs = [ setuptools-scm ]; 23 24 propagatedBuildInputs = [ 25 certifi 26 six 27 ]; 28 29 checkInputs = [ 30 pytestCheckHook 31 flaky 32 ]; 33 34 pythonImportsCheck = [ "pylast" ]; 35 36 meta = with lib; { 37 description = "Python interface to last.fm (and compatibles)"; 38 homepage = "https://github.com/pylast/pylast"; 39 license = licenses.asl20; 40 maintainers = with maintainers; [ rvolosatovs ]; 41 }; 42}