python3Packages.django-compression-middleware: init at 0.4.2

This commit is contained in:
Moritz 'e1mo' Fromm 2023-02-27 18:49:44 +01:00
parent f8b026c478
commit d928451e6d
No known key found for this signature in database
GPG Key ID: 1D5D79A439E787F1
2 changed files with 34 additions and 0 deletions

View File

@ -0,0 +1,32 @@
{ lib
, fetchPypi
, buildPythonPackage
, django
, zstandard
, brotli
}:
buildPythonPackage rec {
pname = "django-compression-middleware";
version = "0.4.2";
format = "setuptools";
src = fetchPypi {
inherit pname version;
hash = "sha256-cdS80JVGz4h4MVCsZGfrQWhZlTR3Swm4Br4wFxOcKVs=";
};
propagatedBuildInputs = [
django
zstandard
brotli
];
meta = with lib; {
description = "Django middleware to compress responses using several algorithms";
homepage = "https://github.com/friedelwolff/django-compression-middleware";
changelog = "https://github.com/friedelwolff/django-compression-middleware/releases/tag/v${version}";
license = licenses.mpl20;
maintainers = with maintainers; [ e1mo ];
};
}

View File

@ -2563,6 +2563,8 @@ self: super: with self; {
django-compressor = callPackage ../development/python-modules/django-compressor { };
django-compression-middleware = callPackage ../development/python-modules/django-compression-middleware { };
django-configurations = callPackage ../development/python-modules/django-configurations { };
django_contrib_comments = callPackage ../development/python-modules/django_contrib_comments { };