4d5a95770c
GitOrigin-RevId: 3c5319ad3aa51551182ac82ea17ab1c6b0f0df89
32 lines
753 B
Nix
32 lines
753 B
Nix
{ 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 ];
|
|
};
|
|
}
|