pythonPackages.ndg-httpsclient: refactor move to python-modules
This commit is contained in:
parent
5e3aec5963
commit
d7da2d4e2b
|
@ -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; [ ];
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
|
@ -1988,29 +1988,7 @@ in {
|
||||||
|
|
||||||
logfury = callPackage ../development/python-modules/logfury { };
|
logfury = callPackage ../development/python-modules/logfury { };
|
||||||
|
|
||||||
ndg-httpsclient = buildPythonPackage rec {
|
ndg-httpsclient = callPackage ../development/python-modules/ndg-httpsclient { };
|
||||||
version = "0.4.2";
|
|
||||||
name = "ndg-httpsclient-${version}";
|
|
||||||
|
|
||||||
propagatedBuildInputs = with self; [ pyopenssl ];
|
|
||||||
|
|
||||||
src = pkgs.fetchFromGitHub {
|
|
||||||
owner = "cedadev";
|
|
||||||
repo = "ndg_httpsclient";
|
|
||||||
rev = version;
|
|
||||||
sha256 = "1kk4knv029j0cicfiv23c1rayc1n3f1j3rhl0527gxiv0qv4jw8h";
|
|
||||||
};
|
|
||||||
|
|
||||||
# uses networking
|
|
||||||
doCheck = false;
|
|
||||||
|
|
||||||
meta = {
|
|
||||||
homepage = https://github.com/cedadev/ndg_httpsclient/;
|
|
||||||
description = "Provide enhanced HTTPS support for httplib and urllib2 using PyOpenSSL";
|
|
||||||
license = licenses.bsd2;
|
|
||||||
maintainers = with maintainers; [ ];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
netcdf4 = callPackage ../development/python-modules/netcdf4 { };
|
netcdf4 = callPackage ../development/python-modules/netcdf4 { };
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue