dcs: use yuicompressor instead of slimit and CSSMinifier (#122764)
slimit appears to be unmaintained (and broken on Python 3.9), but we have yuicompressor packaged which supercedes both slimit and CSSMinifier. Let's use that instead.
This commit is contained in:
parent
96a2d663e7
commit
32ea6bfe74
@ -1,8 +1,7 @@
|
|||||||
{ lib
|
{ lib
|
||||||
, buildGoModule
|
, buildGoModule
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, python3Packages
|
, yuicompressor
|
||||||
, perl
|
|
||||||
, zopfli
|
, zopfli
|
||||||
, stdenv
|
, stdenv
|
||||||
}:
|
}:
|
||||||
@ -23,8 +22,7 @@ buildGoModule {
|
|||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
python3Packages.slimit
|
yuicompressor
|
||||||
(perl.withPackages (p: [ p.CSSMinifier ]))
|
|
||||||
zopfli
|
zopfli
|
||||||
];
|
];
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user