nixpkgs/pkgs/development/tools/ameba/default.nix
2023-02-22 09:57:24 +01:00

24 lines
615 B
Nix

{ lib, fetchFromGitHub, crystal }:
crystal.buildCrystalPackage rec {
pname = "ameba";
version = "1.4.1";
src = fetchFromGitHub {
owner = "crystal-ameba";
repo = "ameba";
rev = "refs/tags/v${version}";
hash = "sha256-UNMOLbZeSdvTuDgveQ/vRC+PlAdVo1bGnpMz3g1seY8=";
};
format = "make";
meta = with lib; {
description = "A static code analysis tool for Crystal";
homepage = "https://crystal-ameba.github.io";
changelog = "https://github.com/crystal-ameba/ameba/releases/tag/v${version}";
license = licenses.mit;
maintainers = with maintainers; [ kimburgess ];
};
}