1{ lib
2, buildPythonPackage
3, fetchPypi
4, isPy3k
5, paste
6, webob
7, pyopenssl
8}:
9
10buildPythonPackage rec {
11 pname = "poster3";
12 version = "0.8.1";
13 format = "wheel"; # only redistributable available
14
15 disabled = !isPy3k;
16
17 src = fetchPypi {
18 inherit pname version format;
19 python = "py3";
20 sha256 = "1b27d7d63e3191e5d7238631fc828e4493590e94dcea034e386c079d853cce14";
21 };
22
23 checkInputs = [
24 paste
25 webob
26 pyopenssl
27 ];
28
29 meta = with lib; {
30 description = "Streaming HTTP uploads and multipart/form-data encoding";
31 homepage = "https://atlee.ca/software/poster/";
32 license = licenses.mit;
33 maintainers = with maintainers; [ WhittlesJr ];
34 };
35}