2023-11-16 04:20:00 +00:00
|
|
|
{ lib, buildNpmPackage, fetchFromGitHub }:
|
|
|
|
|
|
|
|
buildNpmPackage rec {
|
|
|
|
pname = "whistle";
|
2024-07-27 06:49:29 +00:00
|
|
|
version = "2.9.78";
|
2023-11-16 04:20:00 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "avwo";
|
|
|
|
repo = "whistle";
|
|
|
|
rev = "v${version}";
|
2024-07-27 06:49:29 +00:00
|
|
|
hash = "sha256-OQ0dVxWlPvquaApdpHEXmDzzG7NjbLducR9jkhXDsGw=";
|
2023-11-16 04:20:00 +00:00
|
|
|
};
|
|
|
|
|
2024-07-27 06:49:29 +00:00
|
|
|
npmDepsHash = "sha256-3ILtxRI8hvYanXmKZjld7zN127KaCKmWm96nrdSah/E=";
|
2023-11-16 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-05-15 15:35:15 +00:00
|
|
|
maintainers = [ ];
|
2023-11-16 04:20:00 +00:00
|
|
|
mainProgram = "whistle";
|
|
|
|
};
|
|
|
|
}
|