nodePackages.clean-css: rename to clean-css-cli

Co-authored-by: Dmitry Kalinkin <dmitry.kalinkin@gmail.com>
This commit is contained in:
Doron Behar 2020-05-31 07:59:57 +03:00 committed by Dmitry Kalinkin
parent 43adf0c9ac
commit 9a47504fe7
2 changed files with 22 additions and 9 deletions

@ -16,7 +16,7 @@
, "bower2nix"
, "browserify"
, "castnow"
, "clean-css"
, "clean-css-cli"
, "coc-css"
, "coc-emmet"
, "coc-eslint"

@ -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;