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 04:20:00 +00:00
{ lib, buildNpmPackage, fetchFromGitHub }:
buildNpmPackage rec {
pname = "whistle";
2024-02-01 04:49:14 +00:00
version = "2.9.64";
2023-10-22 04:20:00 +00:00
src = fetchFromGitHub {
owner = "avwo";
repo = "whistle";
rev = "v${version}";
2024-02-01 04:49:14 +00:00
hash = "sha256-dK9oaTm4l170COZ8Gm6Suc821DPUYg8euIo6l+EQYEo=";
2023-10-22 04:20:00 +00:00
};
2024-02-01 04:49:14 +00:00
npmDepsHash = "sha256-0YnWmCI0UVQPegwHEKiCmow5LA4kjQVKctWRwHW0Ufg=";
2023-10-22 04:20:00 +00: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";
};
}