summary refs log tree commit diff
path: root/pkgs/development/python-modules/poster3/default.nix
blob: 09e8055bdd91e2f9d5d19de88a7dd58468eab86d (plain) (blame)
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
34
35
{ lib
, buildPythonPackage
, fetchPypi
, isPy3k
, paste
, webob
, pyopenssl
}:

buildPythonPackage rec {
  pname = "poster3";
  version = "0.8.1";
  format = "wheel"; # only redistributable available

  disabled = !isPy3k;

  src = fetchPypi {
    inherit pname version format;
    python = "py3";
    sha256 = "1b27d7d63e3191e5d7238631fc828e4493590e94dcea034e386c079d853cce14";
  };

  checkInputs = [
    paste
    webob
    pyopenssl
  ];

  meta = with lib; {
    description = "Streaming HTTP uploads and multipart/form-data encoding";
    homepage = "https://atlee.ca/software/poster/";
    license = licenses.mit;
    maintainers = with maintainers; [ WhittlesJr ];
  };
}