about summary refs log tree commit diff
path: root/pkgs/development/python-modules
diff options
context:
space:
mode:
authorAlex Whitt <alex.joseph.whitt@gmail.com>2019-08-19 18:07:47 -0400
committerAlex Whitt <alex.joseph.whitt@gmail.com>2019-11-01 10:33:26 -0400
commit1f11ee1a289b134fc3998326b77a722b1e0adb63 (patch)
tree07bfbdf3f353c6f688e326c7a347ea8333d32269 /pkgs/development/python-modules
parenta2be91ebe1718f7327ad8fd405675a97d1b66ca1 (diff)
downloadnixlib-1f11ee1a289b134fc3998326b77a722b1e0adb63.tar
nixlib-1f11ee1a289b134fc3998326b77a722b1e0adb63.tar.gz
nixlib-1f11ee1a289b134fc3998326b77a722b1e0adb63.tar.bz2
nixlib-1f11ee1a289b134fc3998326b77a722b1e0adb63.tar.lz
nixlib-1f11ee1a289b134fc3998326b77a722b1e0adb63.tar.xz
nixlib-1f11ee1a289b134fc3998326b77a722b1e0adb63.tar.zst
nixlib-1f11ee1a289b134fc3998326b77a722b1e0adb63.zip
python3Packages.poster3: init at 0.8.1
Diffstat (limited to 'pkgs/development/python-modules')
-rw-r--r--pkgs/development/python-modules/poster3/default.nix36
1 files changed, 36 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/poster3/default.nix b/pkgs/development/python-modules/poster3/default.nix
new file mode 100644
index 000000000000..175faa343ca7
--- /dev/null
+++ b/pkgs/development/python-modules/poster3/default.nix
@@ -0,0 +1,36 @@
+{ 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 ];
+  };
+}