2021-02-05 17:12:51 +00:00
|
|
|
{ lib
|
2020-04-24 23:36:52 +00:00
|
|
|
, buildPythonPackage
|
|
|
|
, fetchFromGitHub
|
2022-04-27 09:35:20 +00:00
|
|
|
, pyasn1
|
2020-04-24 23:36:52 +00:00
|
|
|
, pyopenssl
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
version = "0.5.1";
|
2024-01-02 11:29:13 +00:00
|
|
|
format = "setuptools";
|
2020-04-24 23:36:52 +00:00
|
|
|
pname = "ndg-httpsclient";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "cedadev";
|
|
|
|
repo = "ndg_httpsclient";
|
|
|
|
rev = version;
|
|
|
|
sha256 = "0lhsgs4am4xyjssng5p0vkfwqncczj1dpa0vss4lrhzq86mnn5rz";
|
|
|
|
};
|
|
|
|
|
2022-04-27 09:35:20 +00:00
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
pyasn1
|
|
|
|
pyopenssl
|
|
|
|
];
|
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
# uses networking
|
|
|
|
doCheck = false;
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://github.com/cedadev/ndg_httpsclient/";
|
|
|
|
description = "Provide enhanced HTTPS support for httplib and urllib2 using PyOpenSSL";
|
|
|
|
license = licenses.bsd2;
|
|
|
|
maintainers = with maintainers; [ ];
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|