blob: 6a10d8e1074ec57269f4fa1925a33626b1196c24 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
{
lib,
fetchPypi,
buildPythonPackage,
django,
zstandard,
brotli,
}:
buildPythonPackage rec {
pname = "django-compression-middleware";
version = "0.5.0";
format = "setuptools";
src = fetchPypi {
inherit pname version;
hash = "sha256-DfUPEtd0ZZq8i7yI5MeU8nhajxHzC1uyZ8MUuF2UG3M=";
};
propagatedBuildInputs = [
django
zstandard
brotli
];
meta = {
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 = lib.licenses.mpl20;
maintainers = with lib.maintainers; [ e1mo ];
};
}
|