depot/third_party/nixpkgs/pkgs/development/python-modules/ndg-httpsclient/default.nix
Default email ae91cbe6cc Project import generated by Copybara.
GitOrigin-RevId: 536fe36e23ab0fc8b7f35c24603422eee9fc17a2
2021-02-05 18:12:51 +01:00

30 lines
645 B
Nix

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