26 lines
676 B
Nix
26 lines
676 B
Nix
{ lib, buildNpmPackage, fetchFromGitHub }:
|
|
|
|
buildNpmPackage rec {
|
|
pname = "whistle";
|
|
version = "2.9.86";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "avwo";
|
|
repo = "whistle";
|
|
rev = "v${version}";
|
|
hash = "sha256-k6JAOnHm5xFdI5rKSOj33YtpkHEGx/6Bs0PLQNerH+M=";
|
|
};
|
|
|
|
npmDepsHash = "sha256-kVjZ0E1iQtUOf9LWPHVMj0eQRDwDREiTAGrFaa/m4/I=";
|
|
|
|
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";
|
|
};
|
|
}
|