summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/ndg-httpsclient
diff options
context:
space:
mode:
authorJohn Ericson <John.Ericson@Obsidian.Systems>2018-10-23 23:23:03 -0400
committerJohn Ericson <John.Ericson@Obsidian.Systems>2018-10-24 08:20:53 -0400
commitbbd12f558367034c77c68795c88b01b9cf5705dd (patch)
treede93cbfef38b2fea9be2987f7d22d633f7991363 /pkgs/development/python-modules/ndg-httpsclient
parent22df9423cd1f87b4390e9f7879636ecd0c508d96 (diff)
parentd3f328e59218b7bd2240dd5aeca3565ee7b2045f (diff)
Merge remote-tracking branch 'upstream/master' into darwin-to-linux-cross
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; [ ];
+ };
+
+}