2023-10-22 06:20:00 +02:00
|
|
|
{ lib, buildNpmPackage, fetchFromGitHub }:
|
|
|
|
|
|
|
|
buildNpmPackage rec {
|
|
|
|
pname = "whistle";
|
2023-11-10 05:20:00 +01:00
|
|
|
version = "2.9.59";
|
2023-10-22 06:20:00 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "avwo";
|
|
|
|
repo = "whistle";
|
|
|
|
rev = "v${version}";
|
2023-11-10 05:20:00 +01:00
|
|
|
hash = "sha256-2eb31qV49r8U4arj4TuA+lyi9HTBPRgmW3vR+qF6QfE=";
|
2023-10-22 06:20:00 +02:00
|
|
|
};
|
|
|
|
|
2023-11-10 05:20:00 +01:00
|
|
|
npmDepsHash = "sha256-HkBcizAao4uV+EDJc3z8P97ivMhbYr27hwY7x2jqEIc=";
|
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;
|
|
|
|
maintainers = [ maintainers.marsam ];
|
|
|
|
mainProgram = "whistle";
|
|
|
|
};
|
|
|
|
}
|