27 lines
695 B
Nix
27 lines
695 B
Nix
|
{ lib, buildNpmPackage, fetchFromGitHub }:
|
||
|
|
||
|
buildNpmPackage rec {
|
||
|
pname = "whistle";
|
||
|
version = "2.9.59";
|
||
|
|
||
|
src = fetchFromGitHub {
|
||
|
owner = "avwo";
|
||
|
repo = "whistle";
|
||
|
rev = "v${version}";
|
||
|
hash = "sha256-2eb31qV49r8U4arj4TuA+lyi9HTBPRgmW3vR+qF6QfE=";
|
||
|
};
|
||
|
|
||
|
npmDepsHash = "sha256-HkBcizAao4uV+EDJc3z8P97ivMhbYr27hwY7x2jqEIc=";
|
||
|
|
||
|
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";
|
||
|
};
|
||
|
}
|