Skip to content

Commit

Permalink
css-checker: init at 0.4.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Arik Grahl authored and Arik Grahl committed Feb 12, 2024
1 parent dd864dc commit 46451b6
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions pkgs/by-name/cs/css-checker/package.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,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";
};
}

0 comments on commit 46451b6

Please sign in to comment.