depot/third_party/nixpkgs/pkgs/development/tools/ameba/default.nix

21 lines
505 B
Nix
Raw Normal View History

{ lib, fetchFromGitHub, crystal }:
crystal.buildCrystalPackage rec {
pname = "ameba";
version = "0.14.1";
src = fetchFromGitHub {
owner = "crystal-ameba";
repo = "ameba";
rev = "v${version}";
sha256 = "sha256-yRahBY2ob3EkBKXZN9K7UqgHM4k5CVOcWG0/oOWQFuk=";
};
meta = with lib; {
description = "A static code analysis tool for Crystal";
homepage = "https://crystal-ameba.github.io";
license = licenses.mit;
maintainers = with maintainers; [ kimburgess ];
};
}