mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-15 22:36:23 +01:00
26 lines
676 B
Nix
26 lines
676 B
Nix
{ lib, buildNpmPackage, fetchFromGitHub }:
|
|
|
|
buildNpmPackage rec {
|
|
pname = "whistle";
|
|
version = "2.9.68";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "avwo";
|
|
repo = "whistle";
|
|
rev = "v${version}";
|
|
hash = "sha256-8UWYh2pm0UX6tb/7DT5ZaHvmHdxk6hwE7fFHKY6pGOs=";
|
|
};
|
|
|
|
npmDepsHash = "sha256-/WnrhtVr972Na8rpZ7dzH3998WDPsS5X6jCPkCj3hyc=";
|
|
|
|
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";
|
|
};
|
|
}
|