From b3e872b359cfe2464505bf2ca7f5d123700f286c Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 19 Dec 2021 17:01:11 +0100 Subject: [PATCH] python3Packages.pylast: 4.3.0 -> 4.4.0 --- .../python-modules/pylast/default.nix | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/pkgs/development/python-modules/pylast/default.nix b/pkgs/development/python-modules/pylast/default.nix index 0306008aa785..098cdd33bfca 100644 --- a/pkgs/development/python-modules/pylast/default.nix +++ b/pkgs/development/python-modules/pylast/default.nix @@ -3,27 +3,32 @@ , certifi , fetchPypi , flaky +, importlib-metadata , pytestCheckHook , pythonOlder , setuptools-scm -, six }: buildPythonPackage rec { pname = "pylast"; - version = "4.3.0"; + version = "4.4.0"; + format = "setuptools"; + disabled = pythonOlder "3.6"; src = fetchPypi { inherit pname version; - sha256 = "71fd876e3753009bd10ea55b3f8f7c5d68591ee18a4127d257fc4a418010aa5c"; + sha256 = "sha256-2m6+pQYBmvVxlBw1yLSAKr3kZ5WS1S0TZ1ZQ3ER+bCk="; }; - nativeBuildInputs = [ setuptools-scm ]; + nativeBuildInputs = [ + setuptools-scm + ]; propagatedBuildInputs = [ certifi - six + ] ++ lib.optionals (pythonOlder "3.8") [ + importlib-metadata ]; checkInputs = [ @@ -31,7 +36,9 @@ buildPythonPackage rec { flaky ]; - pythonImportsCheck = [ "pylast" ]; + pythonImportsCheck = [ + "pylast" + ]; meta = with lib; { description = "Python interface to last.fm (and compatibles)";