about summary refs log tree commit diff
path: root/pkgs/by-name/cs/css-checker/package.nix
blob: 43e2fb536706fff4e1c069ac78df90521466e410 (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
{ lib
, buildGoModule
, fetchFromGitHub
}:

buildGoModule rec {
  pname = "css-checker";
  version = "0.4.1";

  src = fetchFromGitHub {
    owner = "ruilisi";
    repo = pname;
    rev = "v${version}";
    hash = "sha256-lD2uF8zhJG8pVepqxyKKj4GZNB883uDV/9dCMFYJbRs=";
  };

  vendorHash = "sha256-4ZCma8Q7FXAWdA1m2M1ltm360Fu65JhELyfIbJBP14M=";

  ldflags = [ "-s" "-w" ];

  meta = with lib; {
    description = "Command-line tool for identifying similar or duplicated CSS code";
    homepage = "https://github.com/ruilisi/css-checker";
    license = licenses.mit;
    maintainers = with maintainers; [ arikgrahl ];
    mainProgram = "css-checker";
  };
}