2023-04-18 18:59:58 +00:00
|
|
|
{ lib, fetchFromGitHub, fetchpatch, crystal }:
|
2019-10-21 08:35:26 +00:00
|
|
|
|
2020-04-19 02:57:17 +00:00
|
|
|
crystal.buildCrystalPackage rec {
|
2019-10-21 08:35:26 +00:00
|
|
|
pname = "ameba";
|
2023-09-24 16:11:18 +00:00
|
|
|
version = "1.5.0";
|
2019-10-21 08:35:26 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2020-04-19 02:57:17 +00:00
|
|
|
owner = "crystal-ameba";
|
|
|
|
repo = "ameba";
|
2023-02-22 08:57:24 +00:00
|
|
|
rev = "refs/tags/v${version}";
|
2023-09-24 16:11:18 +00:00
|
|
|
hash = "sha256-TdyEnTloaciSpkPmnm+OM75sz9jaCaQ3VoDEepfescU=";
|
2019-10-21 08:35:26 +00:00
|
|
|
};
|
|
|
|
|
2022-08-05 03:14:56 +00:00
|
|
|
format = "make";
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2019-10-21 08:35:26 +00:00
|
|
|
description = "A static code analysis tool for Crystal";
|
2020-03-29 00:34:11 +00:00
|
|
|
homepage = "https://crystal-ameba.github.io";
|
2023-02-22 08:57:24 +00:00
|
|
|
changelog = "https://github.com/crystal-ameba/ameba/releases/tag/v${version}";
|
2019-10-21 08:35:26 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ kimburgess ];
|
|
|
|
};
|
|
|
|
}
|