2023-04-18 20:59:58 +02:00
|
|
|
{ lib, fetchFromGitHub, fetchpatch, 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";
|
2023-09-24 18:11:18 +02:00
|
|
|
version = "1.5.0";
|
2019-10-21 10:35:26 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2020-04-19 04:57:17 +02:00
|
|
|
owner = "crystal-ameba";
|
|
|
|
repo = "ameba";
|
2023-02-22 09:57:24 +01:00
|
|
|
rev = "refs/tags/v${version}";
|
2023-09-24 18:11:18 +02:00
|
|
|
hash = "sha256-TdyEnTloaciSpkPmnm+OM75sz9jaCaQ3VoDEepfescU=";
|
2019-10-21 10:35:26 +02:00
|
|
|
};
|
|
|
|
|
2022-08-05 05:14:56 +02:00
|
|
|
format = "make";
|
|
|
|
|
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";
|
2023-02-22 09:57:24 +01:00
|
|
|
changelog = "https://github.com/crystal-ameba/ameba/releases/tag/v${version}";
|
2019-10-21 10:35:26 +02:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ kimburgess ];
|
|
|
|
};
|
|
|
|
}
|