From 9a47504fe7cff237d8ecb1c87b21b601ef03f335 Mon Sep 17 00:00:00 2001 From: Doron Behar Date: Sun, 31 May 2020 07:59:57 +0300 Subject: [PATCH] nodePackages.clean-css: rename to clean-css-cli Co-authored-by: Dmitry Kalinkin --- .../node-packages/node-packages.json | 2 +- .../node-packages/node-packages.nix | 29 ++++++++++++++----- 2 files changed, 22 insertions(+), 9 deletions(-) diff --git a/pkgs/development/node-packages/node-packages.json b/pkgs/development/node-packages/node-packages.json index 4d7267533077..76b24cf1f23d 100644 --- a/pkgs/development/node-packages/node-packages.json +++ b/pkgs/development/node-packages/node-packages.json @@ -16,7 +16,7 @@ , "bower2nix" , "browserify" , "castnow" -, "clean-css" +, "clean-css-cli" , "coc-css" , "coc-emmet" , "coc-eslint" diff --git a/pkgs/development/node-packages/node-packages.nix b/pkgs/development/node-packages/node-packages.nix index 295eb736b590..57913cc581b9 100644 --- a/pkgs/development/node-packages/node-packages.nix +++ b/pkgs/development/node-packages/node-packages.nix @@ -53062,21 +53062,34 @@ in bypassCache = true; reconstructLock = true; }; - clean-css = nodeEnv.buildNodePackage { - name = "clean-css"; - packageName = "clean-css"; - version = "4.2.3"; + clean-css-cli = nodeEnv.buildNodePackage { + name = "clean-css-cli"; + packageName = "clean-css-cli"; + version = "4.3.0"; src = fetchurl { - url = "https://registry.npmjs.org/clean-css/-/clean-css-4.2.3.tgz"; - sha512 = "VcMWDN54ZN/DS+g58HYL5/n4Zrqe8vHJpGA8KdgUXFU4fuP/aHNw8eld9SyEIyabIMJX/0RaY/fplOo5hYLSFA=="; + url = "https://registry.npmjs.org/clean-css-cli/-/clean-css-cli-4.3.0.tgz"; + sha512 = "8GHZfr+mG3zB/Lgqrr27qHBFsPSn0fyEI3f2rIZpxPxUbn2J6A8xyyeBRVTW8duDuXigN0s80vsXiXJOEFIO5Q=="; }; dependencies = [ + sources."balanced-match-1.0.0" + sources."brace-expansion-1.1.11" + sources."clean-css-4.2.3" + sources."commander-2.20.3" + sources."concat-map-0.0.1" + sources."fs.realpath-1.0.0" + sources."glob-7.1.6" + sources."inflight-1.0.6" + sources."inherits-2.0.4" + sources."minimatch-3.0.4" + sources."once-1.4.0" + sources."path-is-absolute-1.0.1" sources."source-map-0.6.1" + sources."wrappy-1.0.2" ]; buildInputs = globalBuildInputs; meta = { - description = "A well-tested CSS minifier"; - homepage = https://github.com/jakubpawlowicz/clean-css; + description = "A command-line interface to clean-css CSS optimization library"; + homepage = "https://github.com/jakubpawlowicz/clean-css-cli#readme"; license = "MIT"; }; production = true;