nixpkgs/pkgs/by-name/cs/css-checker/package.nix
2024-02-12 15:24:06 +01:00

29 lines
657 B
Nix

{ 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";
};
}