Files

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

28 lines
603 B
Nix
Raw Permalink Normal View History

2025-10-09 14:15:47 +02:00
{
buildNpmPackage,
fetchFromGitHub,
lib,
}:
buildNpmPackage rec {
pname = "terser";
version = "5.44.0";
src = fetchFromGitHub {
owner = "terser";
repo = "terser";
rev = "v${version}";
hash = "sha256-3dYczeq3ZGzA4E07lJfuR7039U+LaxVbWGlfMF9+iiY=";
};
npmDepsHash = "sha256-jec/XyYDGhvl3fngG/HGJMI1G5JtYuZi/pJFrZuir+A=";
meta = with lib; {
description = "JavaScript parser, mangler and compressor toolkit for ES6+";
mainProgram = "terser";
homepage = "https://terser.org";
license = licenses.bsd2;
maintainers = with maintainers; [ talyz ];
};
}