2020-04-19 03:57:17 +01:00
|
|
|
{ stdenv, 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";
|
2020-07-20 02:12:32 +01:00
|
|
|
version = "0.13.1";
|
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}";
|
2020-07-20 02:12:32 +01:00
|
|
|
sha256 = "0myy11g62pa1yh9szj03v2lhc5s9xwzr76v4x6hznidpq1b67jn8";
|
2019-10-21 09:35:26 +01: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 09:35:26 +01:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ kimburgess ];
|
|
|
|
};
|
|
|
|
}
|