2020-04-19 02:57:17 +00:00
|
|
|
{ stdenv, lib, fetchFromGitHub, 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";
|
2020-12-07 11:08:08 +00:00
|
|
|
version = "0.13.3";
|
2019-10-21 08:35:26 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2020-04-19 02:57:17 +00:00
|
|
|
owner = "crystal-ameba";
|
|
|
|
repo = "ameba";
|
|
|
|
rev = "v${version}";
|
2020-12-07 11:08:08 +00:00
|
|
|
sha256 = "0yhb8vfrfzsm3a45h2jmcrn1n7jy3zn2hwims3dikgq8kaggws9y";
|
2019-10-21 08:35:26 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
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 08:35:26 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ kimburgess ];
|
|
|
|
};
|
|
|
|
}
|