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";
|
2023-03-31 23:14:17 +02:00
|
|
|
version = "1.4.3";
|
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-03-31 23:14:17 +02:00
|
|
|
hash = "sha256-pc9mtVR/PBhM5l1PnDkm+y+McxbrfAmQzxmLi761VF4=";
|
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 ];
|
|
|
|
};
|
|
|
|
}
|