f34ce41345
GitOrigin-RevId: b73c2221a46c13557b1b3be9c2070cc42cf01eb3
26 lines
676 B
Nix
26 lines
676 B
Nix
{ lib, buildNpmPackage, fetchFromGitHub }:
|
|
|
|
buildNpmPackage rec {
|
|
pname = "whistle";
|
|
version = "2.9.78";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "avwo";
|
|
repo = "whistle";
|
|
rev = "v${version}";
|
|
hash = "sha256-OQ0dVxWlPvquaApdpHEXmDzzG7NjbLducR9jkhXDsGw=";
|
|
};
|
|
|
|
npmDepsHash = "sha256-3ILtxRI8hvYanXmKZjld7zN127KaCKmWm96nrdSah/E=";
|
|
|
|
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 = [ ];
|
|
mainProgram = "whistle";
|
|
};
|
|
}
|