2021-05-04 21:07:42 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchFromGitHub
|
|
|
|
, poetry-core
|
|
|
|
, aiohttp
|
|
|
|
, beautifulsoup4
|
|
|
|
, httpx
|
|
|
|
, importlib-metadata
|
|
|
|
, multidict
|
|
|
|
, typer
|
|
|
|
, yarl
|
|
|
|
, pytest-asyncio
|
|
|
|
, pytestCheckHook
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "authcaptureproxy";
|
2022-06-26 10:26:21 +00:00
|
|
|
version = "1.1.4";
|
2021-05-04 21:07:42 +00:00
|
|
|
format = "pyproject";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "alandtse";
|
|
|
|
repo = "auth_capture_proxy";
|
2022-06-26 10:26:21 +00:00
|
|
|
rev = "refs/tags/v${version}";
|
2023-03-15 16:39:30 +00:00
|
|
|
hash = "sha256-4IPBulzRoAAplyM/1MPE40IW4IXBIGYLydzpY64Gl0c=";
|
2021-05-04 21:07:42 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
poetry-core
|
|
|
|
];
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
aiohttp
|
|
|
|
beautifulsoup4
|
|
|
|
httpx
|
|
|
|
importlib-metadata
|
|
|
|
multidict
|
|
|
|
typer
|
|
|
|
yarl
|
|
|
|
];
|
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
nativeCheckInputs = [
|
2021-05-04 21:07:42 +00:00
|
|
|
pytest-asyncio
|
|
|
|
pytestCheckHook
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "A proxy to capture authentication information from a webpage";
|
|
|
|
homepage = "https://github.com/alandtse/auth_capture_proxy";
|
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = with maintainers; [ graham33 hexa ];
|
|
|
|
};
|
|
|
|
}
|