From 0ba90fe8900705ac5ca90a5baee43097a5fc92c0 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 5 May 2023 23:22:26 +0200 Subject: [PATCH] python311Packages.whitenoise: 6.2.0 -> 6.4.0 Changelog: https://github.com/evansd/whitenoise/blob/6.4.0/docs/changelog.rst --- .../python-modules/whitenoise/default.nix | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/pkgs/development/python-modules/whitenoise/default.nix b/pkgs/development/python-modules/whitenoise/default.nix index e56abe4cba5e..9a6d19583455 100644 --- a/pkgs/development/python-modules/whitenoise/default.nix +++ b/pkgs/development/python-modules/whitenoise/default.nix @@ -6,12 +6,13 @@ , pytestCheckHook , pythonOlder , requests +, setuptools }: buildPythonPackage rec { pname = "whitenoise"; - version = "6.2.0"; - format = "setuptools"; + version = "6.4.0"; + format = "pyproject"; disabled = pythonOlder "3.7"; @@ -20,10 +21,14 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "evansd"; repo = pname; - rev = version; - hash = "sha256-HcWWWMIuU8kfcOnntgXUnHD3pFogq8OEAd3wRtCnXjQ="; + rev = "refs/tags/${version}"; + hash = "sha256-ouEoqMcNh3Vwahwaq6bGQuVUFViVN14CDJosDXC5ozI="; }; + nativeBuildInputs = [ + setuptools + ]; + propagatedBuildInputs = [ brotli ]; @@ -51,8 +56,9 @@ buildPythonPackage rec { ]; meta = with lib; { - description = "Radically simplified static file serving for WSGI applications"; + description = "Library to serve static file for WSGI applications"; homepage = "https://whitenoise.evans.io/"; + changelog = "https://github.com/evansd/whitenoise/blob/${version}/docs/changelog.rst"; license = licenses.mit; maintainers = with maintainers; [ ]; };