5c370c0b2a
GitOrigin-RevId: 33d1e753c82ffc557b4a585c77de43d4c922ebb5
26 lines
676 B
Nix
26 lines
676 B
Nix
{ lib, buildNpmPackage, fetchFromGitHub }:
|
|
|
|
buildNpmPackage rec {
|
|
pname = "whistle";
|
|
version = "2.9.70";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "avwo";
|
|
repo = "whistle";
|
|
rev = "v${version}";
|
|
hash = "sha256-KtZZa/t/WqMSjEAET8wutIhu7sp55/CtaBnNDThkEUI=";
|
|
};
|
|
|
|
npmDepsHash = "sha256-0XDfi23BktYDH58sDjaBtt6x2ZZDFqtBBL9agnHwgeo=";
|
|
|
|
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";
|
|
};
|
|
}
|