mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-18 22:51:21 +00:00
43 lines
787 B
Nix
43 lines
787 B
Nix
{
|
|
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 ];
|
|
};
|
|
})
|