0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-14 06:00:33 +03:00

Merge pull request #161215 from fabaff/bump-whitenoise

python3Packages.whitenoise: 5.3.0 -> 6.0.0
This commit is contained in:
Fabian Affolter 2022-02-22 08:58:19 +01:00 committed by GitHub
commit a177c97f76
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,6 +1,7 @@
{ lib
, brotli
, buildPythonPackage
, django
, fetchFromGitHub
, pytestCheckHook
, pythonOlder
@ -9,14 +10,16 @@
buildPythonPackage rec {
pname = "whitenoise";
version = "5.3.0";
disabled = pythonOlder "3.5";
version = "6.0.0";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "evansd";
repo = pname;
rev = "v${version}";
sha256 = "17j1rml1hb43c7fs7kf4ygkpmnjppzgsbnyw3plq9w3yh9w5hkhg";
rev = version;
hash = "sha256-mUjyX4eQOiMweje6UPyfyJsiHwzF5OQ93KuxFedWxbQ=";
};
propagatedBuildInputs = [
@ -24,6 +27,7 @@ buildPythonPackage rec {
];
checkInputs = [
django
pytestCheckHook
requests
];
@ -40,7 +44,9 @@ buildPythonPackage rec {
"test_modified"
];
pythonImportsCheck = [ "whitenoise" ];
pythonImportsCheck = [
"whitenoise"
];
meta = with lib; {
description = "Radically simplified static file serving for WSGI applications";