1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 setuptools,
6}:
7
8buildPythonPackage rec {
9 pname = "uwsgi-chunked";
10 version = "0.1.8";
11 pyproject = true;
12
13 src = fetchFromGitHub {
14 owner = "btimby";
15 repo = "uwsgi-chunked";
16 tag = version;
17 hash = "sha256-5TNCnQhnT1gAblgs+AAW62HoNDPM54hpxgCnYl07j3I=";
18 };
19
20 build-system = [ setuptools ];
21
22 # requires running containers via docker
23 doCheck = false;
24
25 pythonImportsCheck = [ "uwsgi_chunked" ];
26
27 meta = {
28 description = "WSGI application wrapper that handles Transfer-Encoding: chunked";
29 homepage = "https://github.com/btimby/uwsgi-chunked";
30 license = lib.licenses.mit;
31 maintainers = with lib.maintainers; [ defelo ];
32 };
33}