summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/ndg-httpsclient
diff options
context:
space:
mode:
authorLinus Heckemann <git@sphalerite.org>2018-11-30 15:46:10 +0100
committerLinus Heckemann <git@sphalerite.org>2018-12-05 12:12:42 +0100
commit9504292b1e9948fb286b1b1cdbe83f66b367b64d (patch)
tree5c569c87d8ad0186baf3fe45315219b0f1f73ea6 /pkgs/development/python-modules/ndg-httpsclient
parent8887e1f697d9e13ad277ca7d7054bc42c2459548 (diff)
parent76c7a8bac083522ea10ba43f699421ca64007708 (diff)
Merge remote-tracking branch 'origin/master' into weechat-unwrapped
Diffstat (limited to 'pkgs/development/python-modules/ndg-httpsclient')
-rw-r--r--pkgs/development/python-modules/ndg-httpsclient/default.nix30
1 files changed, 30 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/ndg-httpsclient/default.nix b/pkgs/development/python-modules/ndg-httpsclient/default.nix
new file mode 100644
index 000000000000..780f2c330860
--- /dev/null
+++ b/pkgs/development/python-modules/ndg-httpsclient/default.nix
@@ -0,0 +1,30 @@
+{ stdenv
+, buildPythonPackage
+, fetchFromGitHub
+, pyopenssl
+}:
+
+buildPythonPackage rec {
+ version = "0.4.2";
+ pname = "ndg-httpsclient";
+
+ propagatedBuildInputs = [ pyopenssl ];
+
+ src = fetchFromGitHub {
+ owner = "cedadev";
+ repo = "ndg_httpsclient";
+ rev = version;
+ sha256 = "1kk4knv029j0cicfiv23c1rayc1n3f1j3rhl0527gxiv0qv4jw8h";
+ };
+
+ # uses networking
+ doCheck = false;
+
+ meta = with stdenv.lib; {
+ homepage = https://github.com/cedadev/ndg_httpsclient/;
+ description = "Provide enhanced HTTPS support for httplib and urllib2 using PyOpenSSL";
+ license = licenses.bsd2;
+ maintainers = with maintainers; [ ];
+ };
+
+}