python3Packages.httpx-curl-cffi: init at 0.1.5
This commit is contained in:
@@ -0,0 +1,42 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchPypi,
|
||||
pdm-backend,
|
||||
curl-cffi,
|
||||
httpx,
|
||||
typing-extensions,
|
||||
}:
|
||||
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "httpx-curl-cffi";
|
||||
version = "0.1.5";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchPypi {
|
||||
pname = "httpx_curl_cffi";
|
||||
inherit (finalAttrs) version;
|
||||
hash = "sha256-F37plo6doUJAcBeBbMP7CKsoGxNPdzqTWbakZQpsgfM=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
pdm-backend
|
||||
];
|
||||
|
||||
dependencies = [
|
||||
curl-cffi
|
||||
httpx
|
||||
typing-extensions
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"httpx_curl_cffi"
|
||||
];
|
||||
|
||||
meta = {
|
||||
description = "Httpx transport for curl_cffi (python bindings for curl-impersonate";
|
||||
homepage = "https://pypi.org/project/httpx-curl-cffi";
|
||||
license = lib.licenses.bsd3;
|
||||
maintainers = with lib.maintainers; [ xanderio ];
|
||||
};
|
||||
})
|
||||
@@ -7224,6 +7224,8 @@ self: super: with self; {
|
||||
|
||||
httpx-auth = callPackage ../development/python-modules/httpx-auth { };
|
||||
|
||||
httpx-curl-cffi = callPackage ../development/python-modules/httpx-curl-cffi { };
|
||||
|
||||
httpx-ntlm = callPackage ../development/python-modules/httpx-ntlm { };
|
||||
|
||||
httpx-oauth = callPackage ../development/python-modules/httpx-oauth { };
|
||||
|
||||
Reference in New Issue
Block a user