depot/third_party/nixpkgs/pkgs/by-name/wh/whistle/package.nix
Default email 504525a148 Project import generated by Copybara.
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
2024-01-02 12:29:13 +01:00

26 lines
695 B
Nix

{ lib, buildNpmPackage, fetchFromGitHub }:
buildNpmPackage rec {
pname = "whistle";
version = "2.9.61";
src = fetchFromGitHub {
owner = "avwo";
repo = "whistle";
rev = "v${version}";
hash = "sha256-q1uCN+DxYNTH2riWjnllWtiSewvYb+SRG4gh4o5Wqxg=";
};
npmDepsHash = "sha256-ftBJ2ZkJOMdYXRWi2APhAoxju2tOQvLpanHLv4XMjeY=";
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";
};
}