From 32ea6bfe74894e50ed919d9677c8ddb0b8da2955 Mon Sep 17 00:00:00 2001 From: Cole Helbling Date: Wed, 12 May 2021 14:12:08 -0700 Subject: [PATCH] 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. --- pkgs/tools/text/dcs/default.nix | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/pkgs/tools/text/dcs/default.nix b/pkgs/tools/text/dcs/default.nix index 610b494439c6..511931f03808 100644 --- a/pkgs/tools/text/dcs/default.nix +++ b/pkgs/tools/text/dcs/default.nix @@ -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 ];