21 lines
506 B
Nix
21 lines
506 B
Nix
{ lib, fetchFromGitHub, crystal }:
|
|
|
|
crystal.buildCrystalPackage rec {
|
|
pname = "ameba";
|
|
version = "0.13.3";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "crystal-ameba";
|
|
repo = "ameba";
|
|
rev = "v${version}";
|
|
sha256 = "0yhb8vfrfzsm3a45h2jmcrn1n7jy3zn2hwims3dikgq8kaggws9y";
|
|
};
|
|
|
|
meta = with lib; {
|
|
description = "A static code analysis tool for Crystal";
|
|
homepage = "https://crystal-ameba.github.io";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ kimburgess ];
|
|
};
|
|
}
|