diff options
author | Chris Ostrouchov <chris.ostrouchov@gmail.com> | 2018-10-16 10:18:43 -0400 |
---|---|---|
committer | Frederik Rietdijk <fridh@fridh.nl> | 2018-10-17 07:46:57 +0200 |
commit | d7da2d4e2b47f0e5aed17b86566bd292e66b90d5 (patch) | |
tree | 692a440e0960df8f770d75135d07c4e925f9ebe4 /pkgs/development/python-modules/ndg-httpsclient/default.nix | |
parent | 5e3aec5963fb27d316f63a49598d85666cf5bd81 (diff) | |
download | nixlib-d7da2d4e2b47f0e5aed17b86566bd292e66b90d5.tar nixlib-d7da2d4e2b47f0e5aed17b86566bd292e66b90d5.tar.gz nixlib-d7da2d4e2b47f0e5aed17b86566bd292e66b90d5.tar.bz2 nixlib-d7da2d4e2b47f0e5aed17b86566bd292e66b90d5.tar.lz nixlib-d7da2d4e2b47f0e5aed17b86566bd292e66b90d5.tar.xz nixlib-d7da2d4e2b47f0e5aed17b86566bd292e66b90d5.tar.zst nixlib-d7da2d4e2b47f0e5aed17b86566bd292e66b90d5.zip |
pythonPackages.ndg-httpsclient: refactor move to python-modules
Diffstat (limited to 'pkgs/development/python-modules/ndg-httpsclient/default.nix')
-rw-r--r-- | pkgs/development/python-modules/ndg-httpsclient/default.nix | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/ndg-httpsclient/default.nix b/pkgs/development/python-modules/ndg-httpsclient/default.nix new file mode 100644 index 000000000000..780f2c330860 --- /dev/null +++ b/pkgs/development/python-modules/ndg-httpsclient/default.nix @@ -0,0 +1,30 @@ +{ stdenv +, buildPythonPackage +, fetchFromGitHub +, pyopenssl +}: + +buildPythonPackage rec { + version = "0.4.2"; + pname = "ndg-httpsclient"; + + propagatedBuildInputs = [ pyopenssl ]; + + src = fetchFromGitHub { + owner = "cedadev"; + repo = "ndg_httpsclient"; + rev = version; + sha256 = "1kk4knv029j0cicfiv23c1rayc1n3f1j3rhl0527gxiv0qv4jw8h"; + }; + + # 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; [ ]; + }; + +} |