perlPackages.JavaScriptMinifierXS: cleanups

This commit is contained in:
Stig Palmquist 2023-10-16 23:56:38 +02:00
parent 71e8bcdf20
commit 9961263240

View File

@ -13007,13 +13007,14 @@ with self; {
}; };
}; };
JavaScriptMinifierXS = buildPerlModule { JavaScriptMinifierXS = buildPerlPackage {
pname = "JavaScript-Minifier-XS"; pname = "JavaScript-Minifier-XS";
version = "0.15"; version = "0.15";
src = fetchurl { src = fetchurl {
url = "mirror://cpan/authors/id/G/GT/GTERMARS/JavaScript-Minifier-XS-0.15.tar.gz"; url = "mirror://cpan/authors/id/G/GT/GTERMARS/JavaScript-Minifier-XS-0.15.tar.gz";
hash = "sha256-XZsDT1jwtv9bZGR708WpzgWypw7e4zn7wxc67nR8wFA="; hash = "sha256-XZsDT1jwtv9bZGR708WpzgWypw7e4zn7wxc67nR8wFA=";
}; };
buildInputs = [ TestDiagINC ];
perlPreHook = lib.optionalString (stdenv.isi686 || stdenv.isDarwin) "export LD=$CC"; perlPreHook = lib.optionalString (stdenv.isi686 || stdenv.isDarwin) "export LD=$CC";
meta = { meta = {
description = "XS based JavaScript minifier"; description = "XS based JavaScript minifier";