1{ lib, fetchFromGitHub, crystal }:
2
3crystal.buildCrystalPackage rec {
4 pname = "ameba";
5 version = "0.14.3";
6
7 src = fetchFromGitHub {
8 owner = "crystal-ameba";
9 repo = "ameba";
10 rev = "v${version}";
11 sha256 = "sha256-oZdaHV+vnYUiCXNMrSuHvZzDYDgFZsoD715DE3tJ2bE=";
12 };
13
14 meta = with lib; {
15 description = "A static code analysis tool for Crystal";
16 homepage = "https://crystal-ameba.github.io";
17 license = licenses.mit;
18 maintainers = with maintainers; [ kimburgess ];
19 };
20}