11 buildPythonPackage rec {
17 inherit pname version;
18 hash = "sha256-MTh2BwNTu7NsTHuvoH+r0YHjEGfphX84f04Ah2eu02A=";
21 build-system = [ setuptools ];
23 # the built-in asyncore library was removed in python 3.12
24 dependencies = lib.optionals (pythonAtLeast "3.12") [ pyasyncore ];
26 pythonImportsCheck = [ "wsgitools" ];
28 nativeCheckInputs = [ unittestCheckHook ];
31 maintainers = with maintainers; [ clkamp ];
32 description = "Set of tools working with WSGI";
34 wsgitools is a set of tools working with WSGI (see PEP 333). It
35 includes classes for filtering content, middlewares for caching,
36 logging and tracebacks as well as two backends for SCGI. Goals
37 in writing it were portability and simplicity.
39 homepage = "https://subdivi.de/~helmut/wsgitools/";
40 license = licenses.gpl2Plus;
41 platforms = platforms.all;