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