2023-10-22 04:20:00 +00:00
|
|
|
{ lib, buildNpmPackage, fetchFromGitHub }:
|
|
|
|
|
|
|
|
buildNpmPackage rec {
|
|
|
|
pname = "whistle";
|
2024-05-01 08:42:55 +00:00
|
|
|
version = "2.9.70";
|
2023-10-22 04:20:00 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "avwo";
|
|
|
|
repo = "whistle";
|
|
|
|
rev = "v${version}";
|
2024-05-01 08:42:55 +00:00
|
|
|
hash = "sha256-KtZZa/t/WqMSjEAET8wutIhu7sp55/CtaBnNDThkEUI=";
|
2023-10-22 04:20:00 +00:00
|
|
|
};
|
|
|
|
|
2024-05-01 08:42:55 +00:00
|
|
|
npmDepsHash = "sha256-0XDfi23BktYDH58sDjaBtt6x2ZZDFqtBBL9agnHwgeo=";
|
2023-10-22 04:20:00 +00:00
|
|
|
|
|
|
|
dontNpmBuild = true;
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "HTTP, HTTP2, HTTPS, Websocket debugging proxy";
|
|
|
|
homepage = "https://github.com/avwo/whistle";
|
|
|
|
changelog = "https://github.com/avwo/whistle/blob/${src.rev}/CHANGELOG.md";
|
|
|
|
license = licenses.mit;
|
2024-04-24 04:20:00 +00:00
|
|
|
maintainers = [ ];
|
2023-10-22 04:20:00 +00:00
|
|
|
mainProgram = "whistle";
|
|
|
|
};
|
|
|
|
}
|