2023-10-22 06:20:00 +02:00
|
|
|
{ lib, buildNpmPackage, fetchFromGitHub }:
|
|
|
|
|
|
|
|
buildNpmPackage rec {
|
|
|
|
pname = "whistle";
|
2024-04-16 06:20:00 +02:00
|
|
|
version = "2.9.68";
|
2023-10-22 06:20:00 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "avwo";
|
|
|
|
repo = "whistle";
|
|
|
|
rev = "v${version}";
|
2024-04-16 06:20:00 +02:00
|
|
|
hash = "sha256-8UWYh2pm0UX6tb/7DT5ZaHvmHdxk6hwE7fFHKY6pGOs=";
|
2023-10-22 06:20:00 +02:00
|
|
|
};
|
|
|
|
|
2024-04-16 06:20:00 +02:00
|
|
|
npmDepsHash = "sha256-/WnrhtVr972Na8rpZ7dzH3998WDPsS5X6jCPkCj3hyc=";
|
2023-10-22 06:20:00 +02: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 06:20:00 +02:00
|
|
|
maintainers = [ ];
|
2023-10-22 06:20:00 +02:00
|
|
|
mainProgram = "whistle";
|
|
|
|
};
|
|
|
|
}
|