summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/uwsgi-chunked/default.nix
blob: 2bc2834d2f370ace09ba51afb4e9d5e3863d66d4 (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,
  buildPythonPackage,
  fetchFromGitHub,
  setuptools,
}:

buildPythonPackage rec {
  pname = "uwsgi-chunked";
  version = "0.1.8";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "btimby";
    repo = "uwsgi-chunked";
    tag = version;
    hash = "sha256-5TNCnQhnT1gAblgs+AAW62HoNDPM54hpxgCnYl07j3I=";
  };

  build-system = [ setuptools ];

  # requires running containers via docker
  doCheck = false;

  pythonImportsCheck = [ "uwsgi_chunked" ];

  meta = {
    description = "WSGI application wrapper that handles Transfer-Encoding: chunked";
    homepage = "https://github.com/btimby/uwsgi-chunked";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ defelo ];
  };
}