2018-10-16 15:18:43 +01:00
|
|
|
{ stdenv
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchFromGitHub
|
|
|
|
, pyopenssl
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2019-06-19 19:17:37 +01:00
|
|
|
version = "0.5.1";
|
2018-10-16 15:18:43 +01:00
|
|
|
pname = "ndg-httpsclient";
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ pyopenssl ];
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "cedadev";
|
|
|
|
repo = "ndg_httpsclient";
|
|
|
|
rev = version;
|
2019-06-19 19:17:37 +01:00
|
|
|
sha256 = "0lhsgs4am4xyjssng5p0vkfwqncczj1dpa0vss4lrhzq86mnn5rz";
|
2018-10-16 15:18:43 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
# 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; [ ];
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|