From 93919c66a844fb7f5cbdfa252f18e40f5bfeab89 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20L=C3=BCtke-Stetzkamp?= Date: Wed, 4 Mar 2020 16:02:24 +0100 Subject: [PATCH] pythonPackages.wsgitools: init at 0.3.1 --- .../python-modules/wsgitools/default.nix | 28 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 ++ 2 files changed, 30 insertions(+) create mode 100644 pkgs/development/python-modules/wsgitools/default.nix diff --git a/pkgs/development/python-modules/wsgitools/default.nix b/pkgs/development/python-modules/wsgitools/default.nix new file mode 100644 index 000000000000..ab6f06abac65 --- /dev/null +++ b/pkgs/development/python-modules/wsgitools/default.nix @@ -0,0 +1,28 @@ +{lib +,buildPythonPackage +,fetchPypi +}: + +buildPythonPackage rec { + pname = "wsgitools"; + version = "0.3.1"; + + src = fetchPypi { + inherit pname version; + sha256 = "0q6kmrkqf02fgww7z1g9cw8f70fimdzs1bvv9inb7fsk0c3pcf1i"; + }; + + meta = with lib; { + maintainers = with maintainers; [ clkamp ]; + description = "A set of tools working with WSGI"; + longDescription = '' + wsgitools is a set of tools working with WSGI (see PEP 333). It + includes classes for filtering content, middlewares for caching, + logging and tracebacks as well as two backends for SCGI. Goals + in writing it were portability and simplicity. + ''; + homepage = "https://subdivi.de/~helmut/wsgitools/"; + license = licenses.gpl2Plus; + platforms = platforms.all; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index f7e892378000..40b42fbca78c 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -6245,6 +6245,8 @@ in { wsgiproxy2 = callPackage ../development/python-modules/wsgiproxy2 { }; + wsgitools = callPackage ../development/python-modules/wsgitools { }; + wurlitzer = callPackage ../development/python-modules/wurlitzer { }; xcaplib = callPackage ../development/python-modules/xcaplib { };