summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/ndg-httpsclient
diff options
context:
space:
mode:
authorChris Ostrouchov <chris.ostrouchov@gmail.com>2018-10-16 10:18:43 -0400
committerFrederik Rietdijk <fridh@fridh.nl>2018-10-17 07:46:57 +0200
commitd7da2d4e2b47f0e5aed17b86566bd292e66b90d5 (patch)
tree692a440e0960df8f770d75135d07c4e925f9ebe4 /pkgs/development/python-modules/ndg-httpsclient
parent5e3aec5963fb27d316f63a49598d85666cf5bd81 (diff)
pythonPackages.ndg-httpsclient: refactor move to python-modules
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; [ ];
+ };
+
+}