Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.09 695 B view raw
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; 19 format = "wheel"; 20 python = "py3"; 21 sha256 = "1b27d7d63e3191e5d7238631fc828e4493590e94dcea034e386c079d853cce14"; 22 }; 23 24 checkInputs = [ 25 paste 26 webob 27 pyopenssl 28 ]; 29 30 meta = with lib; { 31 description = "Streaming HTTP uploads and multipart/form-data encoding"; 32 homepage = "https://atlee.ca/software/poster/"; 33 license = licenses.mit; 34 maintainers = with maintainers; [ WhittlesJr ]; 35 }; 36}