depot/third_party/nixpkgs/pkgs/by-name/wh/whistle/package.nix

27 lines
676 B
Nix
Raw Normal View History

{ 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";
};
}