uglify-js: remove remaining aliases, entry from nodePackages

This commit is contained in:
Sandro Jäckel 2024-07-03 21:23:00 +02:00
parent d5491008d9
commit 2040dfa812
No known key found for this signature in database
GPG Key ID: 3AF5A43A3EECC2E5
4 changed files with 5 additions and 22 deletions

View File

@ -1,7 +1,7 @@
{ lib
, python3Packages
, fetchFromGitHub
, nodePackages
, uglify-js
}:
python3Packages.buildPythonApplication rec {
@ -20,7 +20,7 @@ python3Packages.buildPythonApplication rec {
nativeBuildInputs = [
python3Packages.doit
python3Packages.pyscss
nodePackages.uglify-js
uglify-js
];
propagatedBuildInputs = with python3Packages; [

View File

@ -485,7 +485,7 @@ rec {
# returns an executable
#
# Example:
# writeJS "example" { libraries = [ pkgs.nodePackages.uglify-js ]; } ''
# writeJS "example" { libraries = [ pkgs.uglify-js ]; } ''
# var UglifyJS = require("uglify-js");
# var code = "function add(first, second) { return first + second; }";
# var result = UglifyJS.minify(code);

View File

@ -90192,24 +90192,6 @@ in
bypassCache = true;
reconstructLock = true;
};
uglify-js = nodeEnv.buildNodePackage {
name = "uglify-js";
packageName = "uglify-js";
version = "3.18.0";
src = fetchurl {
url = "https://registry.npmjs.org/uglify-js/-/uglify-js-3.18.0.tgz";
sha512 = "SyVVbcNBCk0dzr9XL/R/ySrmYf0s372K6/hFklzgcp2lBFyXtw4I7BOdDjlLhE1aVqaI/SHWXWmYdlZxuyF38A==";
};
buildInputs = globalBuildInputs;
meta = {
description = "JavaScript parser, mangler/compressor and beautifier toolkit";
homepage = "https://github.com/mishoo/UglifyJS#readme";
license = "BSD-2-Clause";
};
production = true;
bypassCache = true;
reconstructLock = true;
};
undollar = nodeEnv.buildNodePackage {
name = "undollar";
packageName = "undollar";

View File

@ -41,6 +41,7 @@
, jq
, moreutils
, terser
, uglify-js
, plugins ? []
}@args:
@ -214,7 +215,7 @@ let
nativeBuildInputs = runtimeDeps ++ [
postgresql
redis
nodePackages.uglify-js
uglify-js
terser
yarn
jq