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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

27 lines
695 B
Nix
Raw Normal View History

2023-10-22 06:20:00 +02:00
{ lib, buildNpmPackage, fetchFromGitHub }:
buildNpmPackage rec {
pname = "whistle";
version = "2.9.59";
2023-10-22 06:20:00 +02:00
src = fetchFromGitHub {
owner = "avwo";
repo = "whistle";
rev = "v${version}";
hash = "sha256-2eb31qV49r8U4arj4TuA+lyi9HTBPRgmW3vR+qF6QfE=";
2023-10-22 06:20:00 +02:00
};
npmDepsHash = "sha256-HkBcizAao4uV+EDJc3z8P97ivMhbYr27hwY7x2jqEIc=";
2023-10-22 06:20:00 +02:00
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";
};
}