Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at lanzaboote 750 B view raw
1{ lib 2, buildNpmPackage 3, fetchFromGitHub 4}: 5 6buildNpmPackage rec { 7 pname = "clean-css-cli"; 8 version = "5.6.2"; 9 10 src = fetchFromGitHub { 11 owner = "clean-css"; 12 repo = "clean-css-cli"; 13 rev = "v${version}"; 14 hash = "sha256-ONWJn6mehXeNwRVEEM+Ad/heXwNWC9E9yA5eUQsi98A="; 15 }; 16 17 npmDepsHash = "sha256-eVd6YSTHhp6qzGYn5PlikUgjNS+GJoRwfm6KPrEJKGE="; 18 19 dontNpmBuild = true; 20 21 meta = { 22 changelog = "https://github.com/clean-css/clean-css-cli/blob/${src.rev}/History.md"; 23 description = "Command-line interface to the clean-css CSS optimization library"; 24 homepage = "https://github.com/clean-css/clean-css-cli"; 25 license = lib.licenses.mit; 26 mainProgram = "cleancss"; 27 maintainers = with lib.maintainers; [ ]; 28 }; 29}