mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-11 07:23:40 +00:00
27 lines
695 B
Nix
27 lines
695 B
Nix
{ lib, buildNpmPackage, fetchFromGitHub }:
|
|
|
|
buildNpmPackage rec {
|
|
pname = "whistle";
|
|
version = "2.9.67";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "avwo";
|
|
repo = "whistle";
|
|
rev = "v${version}";
|
|
hash = "sha256-wGfKgVbjVrR/GNVLqZtIydsolz14J8YsUU5Oyb7NDL0=";
|
|
};
|
|
|
|
npmDepsHash = "sha256-+7xdvWS92dij4fpQLnp1pjVN+uQNok205EAXGnD/wxY=";
|
|
|
|
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";
|
|
};
|
|
}
|