at master 31 lines 833 B view raw
1{ 2 lib, 3 buildNpmPackage, 4 fetchFromGitHub, 5}: 6buildNpmPackage (finalAttrs: { 7 pname = "clean-css-cli"; 8 version = "5.6.3"; 9 10 src = fetchFromGitHub { 11 owner = "clean-css"; 12 repo = "clean-css-cli"; 13 tag = "v${finalAttrs.version}"; 14 hash = "sha256-tsFNcQg55uY2gL5xLLLS6INLlYzbsU6M3hnsYeOFGEw="; 15 }; 16 17 npmDepsHash = "sha256-uvI9esVVOE18syHUCJpoiDY+Vh3hJO+GsMOTZSYJaxg="; 18 19 dontNpmBuild = true; 20 21 dontCheckForBrokenSymlinks = true; 22 23 meta = { 24 description = "Command-line interface to the clean-css CSS optimization library"; 25 homepage = "https://github.com/clean-css/clean-css-cli"; 26 changelog = "https://github.com/clean-css/clean-css-cli/blob/v${finalAttrs.version}/History.md"; 27 license = lib.licenses.mit; 28 mainProgram = "cleancss"; 29 maintainers = with lib.maintainers; [ momeemt ]; 30 }; 31})