python3Packages.httplib2shim: init at 0.0.2

Urllib3 sanity for httplib2 users

https://github.com/GoogleCloudPlatform/httplib2shim
This commit is contained in:
Fabian Affolter
2026-07-04 17:00:12 +02:00
parent d5a8df3efe
commit 090187b7be
2 changed files with 51 additions and 0 deletions
@@ -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 ];
};
})
+2
View File
@@ -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 { };