2023-11-16 04:20:00 +00:00
|
|
|
{ lib, buildNpmPackage, fetchFromGitHub }:
|
|
|
|
|
|
|
|
buildNpmPackage rec {
|
|
|
|
pname = "whistle";
|
2024-06-20 14:57:18 +00:00
|
|
|
version = "2.9.73";
|
2023-11-16 04:20:00 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "avwo";
|
|
|
|
repo = "whistle";
|
|
|
|
rev = "v${version}";
|
2024-06-20 14:57:18 +00:00
|
|
|
hash = "sha256-KDw6axnjwMnXeTKaG2GIF2C4dKiZ/MW2q0SlZGlBIoI=";
|
2023-11-16 04:20:00 +00:00
|
|
|
};
|
|
|
|
|
2024-06-20 14:57:18 +00:00
|
|
|
npmDepsHash = "sha256-U7gZNKUIU3wS8DaVdxi1/Ik+dzwPfyoI3m//2MgPvt4=";
|
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";
|
|
|
|
};
|
|
|
|
}
|