dcs: use yuicompressor instead of slimit and CSSMinifier ()

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:
Cole Helbling 2021-05-12 14:12:08 -07:00 committed by GitHub
parent 96a2d663e7
commit 32ea6bfe74
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,8 +1,7 @@
{ lib
, buildGoModule
, fetchFromGitHub
, python3Packages
, perl
, yuicompressor
, zopfli
, stdenv
}:
@ -23,8 +22,7 @@ buildGoModule {
doCheck = false;
nativeBuildInputs = [
python3Packages.slimit
(perl.withPackages (p: [ p.CSSMinifier ]))
yuicompressor
zopfli
];