depot/third_party/nixpkgs/pkgs/development/python-modules/poster3/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

36 lines
695 B
Nix

{ 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 = "wheel";
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 ];
};
}