python3Packages.httplib2shim: init at 0.0.2
Urllib3 sanity for httplib2 users https://github.com/GoogleCloudPlatform/httplib2shim
This commit is contained in:
@@ -0,0 +1,49 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
certifi,
|
||||
fetchFromGitHub,
|
||||
httplib2,
|
||||
nix-update-script,
|
||||
setuptools,
|
||||
six,
|
||||
urllib3,
|
||||
}:
|
||||
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "httplib2shim";
|
||||
version = "0.0.2";
|
||||
pyproject = true;
|
||||
|
||||
__structuredAttrs = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "GoogleCloudPlatform";
|
||||
repo = "httplib2shim";
|
||||
tag = finalAttrs.version;
|
||||
hash = "sha256-1dBrO8vkqJKsz+ADZNRtjUr+eVRGdt4iN1GFrse1sFc=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
dependencies = [
|
||||
certifi
|
||||
httplib2
|
||||
six
|
||||
urllib3
|
||||
];
|
||||
|
||||
# Tests require a network access
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [ "httplib2shim" ];
|
||||
|
||||
passthru.updateScript = nix-update-script { };
|
||||
|
||||
meta = {
|
||||
description = "Urllib3 sanity for httplib2 users";
|
||||
homepage = "https://github.com/GoogleCloudPlatform/httplib2shim";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ fab ];
|
||||
};
|
||||
})
|
||||
@@ -7671,6 +7671,8 @@ self: super: with self; {
|
||||
|
||||
httplib2 = callPackage ../development/python-modules/httplib2 { };
|
||||
|
||||
httplib2shim = callPackage ../development/python-modules/httplib2shim { };
|
||||
|
||||
httpretty = callPackage ../development/python-modules/httpretty { };
|
||||
|
||||
httpserver = callPackage ../development/python-modules/httpserver { };
|
||||
|
||||
Reference in New Issue
Block a user