summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/ndg-httpsclient
diff options
context:
space:
mode:
authorVladimír Čunát <vcunat@gmail.com>2019-10-27 10:29:58 +0100
committerVladimír Čunát <vcunat@gmail.com>2019-10-27 10:29:58 +0100
commitd9c5d584cd027f3a7aa43f8fbc261bb19114f02b (patch)
treeff034b35b03a00587f691d9121b23cb5a4bc7d91 /pkgs/development/python-modules/ndg-httpsclient
parent4f43e5fe886374ec918da4bf494710cd58c4adf7 (diff)
parent2896f00181b6dd11c3075bfc5706f02beec1e9e3 (diff)
Merge branch 'master' into release-docs
It's been a very long time, so I think a merge will be better than a rebase. There was only one simple conflict.
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..d9c7e41c576f
--- /dev/null
+++ b/pkgs/development/python-modules/ndg-httpsclient/default.nix
@@ -0,0 +1,30 @@
+{ stdenv
+, buildPythonPackage
+, fetchFromGitHub
+, pyopenssl
+}:
+
+buildPythonPackage rec {
+ version = "0.5.1";
+ pname = "ndg-httpsclient";
+
+ propagatedBuildInputs = [ pyopenssl ];
+
+ src = fetchFromGitHub {
+ owner = "cedadev";
+ repo = "ndg_httpsclient";
+ rev = version;
+ sha256 = "0lhsgs4am4xyjssng5p0vkfwqncczj1dpa0vss4lrhzq86mnn5rz";
+ };
+
+ # 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; [ ];
+ };
+
+}