depot/third_party/nixpkgs/pkgs/development/python-modules/ndg-httpsclient/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

30 lines
655 B
Nix

{ 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; [ ];
};
}