2021-01-25 09:26:54 +01:00
|
|
|
{ lib, fetchFromGitHub, crystal }:
|
2019-10-21 10:35:26 +02:00
|
|
|
|
2020-04-19 04:57:17 +02:00
|
|
|
crystal.buildCrystalPackage rec {
|
2019-10-21 10:35:26 +02:00
|
|
|
pname = "ameba";
|
2021-01-28 22:36:28 +01:00
|
|
|
version = "0.13.4";
|
2019-10-21 10:35:26 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2020-04-19 04:57:17 +02:00
|
|
|
owner = "crystal-ameba";
|
|
|
|
repo = "ameba";
|
|
|
|
rev = "v${version}";
|
2021-01-28 22:36:28 +01:00
|
|
|
sha256 = "sha256-+ZsefwH1hag2syWaEXkdxgmxk6JsxP7MvV+ILlo+Hy8=";
|
2019-10-21 10:35:26 +02:00
|
|
|
};
|
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2019-10-21 10:35:26 +02:00
|
|
|
description = "A static code analysis tool for Crystal";
|
2020-03-29 01:34:11 +01:00
|
|
|
homepage = "https://crystal-ameba.github.io";
|
2019-10-21 10:35:26 +02:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ kimburgess ];
|
|
|
|
};
|
|
|
|
}
|