Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ stdenv 2, buildPythonPackage 3, fetchFromGitHub 4, pyopenssl 5}: 6 7buildPythonPackage rec { 8 version = "0.4.2"; 9 pname = "ndg-httpsclient"; 10 11 propagatedBuildInputs = [ pyopenssl ]; 12 13 src = fetchFromGitHub { 14 owner = "cedadev"; 15 repo = "ndg_httpsclient"; 16 rev = version; 17 sha256 = "1kk4knv029j0cicfiv23c1rayc1n3f1j3rhl0527gxiv0qv4jw8h"; 18 }; 19 20 # uses networking 21 doCheck = false; 22 23 meta = with stdenv.lib; { 24 homepage = https://github.com/cedadev/ndg_httpsclient/; 25 description = "Provide enhanced HTTPS support for httplib and urllib2 using PyOpenSSL"; 26 license = licenses.bsd2; 27 maintainers = with maintainers; [ ]; 28 }; 29 30}