lol
1{ lib, fetchFromGitHub, crystal }:
2
3crystal.buildCrystalPackage rec {
4 pname = "ameba";
5 version = "1.6.1";
6
7 src = fetchFromGitHub {
8 owner = "crystal-ameba";
9 repo = "ameba";
10 rev = "refs/tags/v${version}";
11 hash = "sha256-NwmsNz9YfHDk0hVwVb5zczuzvErrwPhd3rs75t/Fj+I=";
12 };
13
14 format = "make";
15
16 meta = with lib; {
17 description = "A static code analysis tool for Crystal";
18 mainProgram = "ameba";
19 homepage = "https://crystal-ameba.github.io";
20 changelog = "https://github.com/crystal-ameba/ameba/releases/tag/v${version}";
21 license = licenses.mit;
22 maintainers = with maintainers; [ kimburgess ];
23 };
24}