about summary refs log tree commit diff
path: root/pkgs/development/tools/clean-css-cli/default.nix
blob: 2f0cd241ecbe9714d8c05545b9fe418f0f44caad (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
{ lib
, buildNpmPackage
, fetchFromGitHub
}:

buildNpmPackage rec {
  pname = "clean-css-cli";
  version = "5.6.2";

  src = fetchFromGitHub {
    owner = "clean-css";
    repo = "clean-css-cli";
    rev = "v${version}";
    hash = "sha256-ONWJn6mehXeNwRVEEM+Ad/heXwNWC9E9yA5eUQsi98A=";
  };

  npmDepsHash = "sha256-eVd6YSTHhp6qzGYn5PlikUgjNS+GJoRwfm6KPrEJKGE=";

  dontNpmBuild = true;

  meta = {
    changelog = "https://github.com/clean-css/clean-css-cli/blob/${src.rev}/History.md";
    description = "Command-line interface to the clean-css CSS optimization library";
    homepage = "https://github.com/clean-css/clean-css-cli";
    license = lib.licenses.mit;
    mainProgram = "cleancss";
    maintainers = with lib.maintainers; [ ];
  };
}