forked from mirrors/nixpkgs
21 lines
505 B
Nix
21 lines
505 B
Nix
{ lib, fetchFromGitHub, crystal }:
|
|
|
|
crystal.buildCrystalPackage rec {
|
|
pname = "ameba";
|
|
version = "0.14.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "crystal-ameba";
|
|
repo = "ameba";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-wtUWmvAm7iTiP8eYgPiRasYjzeCIJCQd3D+8f1kMONA=";
|
|
};
|
|
|
|
meta = with lib; {
|
|
description = "A static code analysis tool for Crystal";
|
|
homepage = "https://crystal-ameba.github.io";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ kimburgess ];
|
|
};
|
|
}
|