summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorRobert Scott <code@humanleg.org.uk>2023-05-06 22:28:42 +0100
committerGitHub <noreply@github.com>2023-05-06 22:28:42 +0100
commit897876e4c484f1e8f92009fd11b7d988a121a4e7 (patch)
tree2722be0317e8e577ae8283c45cf21a9e504e57e0 /pkgs
parent76f69e9355fb891af9a45621f01e54eead761e7b (diff)
parent0ba90fe8900705ac5ca90a5baee43097a5fc92c0 (diff)
downloadnixpkgs-897876e4c484f1e8f92009fd11b7d988a121a4e7.tar
nixpkgs-897876e4c484f1e8f92009fd11b7d988a121a4e7.tar.gz
nixpkgs-897876e4c484f1e8f92009fd11b7d988a121a4e7.tar.bz2
nixpkgs-897876e4c484f1e8f92009fd11b7d988a121a4e7.tar.lz
nixpkgs-897876e4c484f1e8f92009fd11b7d988a121a4e7.tar.xz
nixpkgs-897876e4c484f1e8f92009fd11b7d988a121a4e7.tar.zst
nixpkgs-897876e4c484f1e8f92009fd11b7d988a121a4e7.zip
Merge pull request #230201 from fabaff/whitenoise-bump
python311Packages.whitenoise: 6.2.0 -> 6.4.0
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/development/python-modules/whitenoise/default.nix16
1 files changed, 11 insertions, 5 deletions
diff --git a/pkgs/development/python-modules/whitenoise/default.nix b/pkgs/development/python-modules/whitenoise/default.nix
index e56abe4cba5..9a6d1958345 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; [ ];
   };