mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-04 04:46:43 +00:00
25 lines
642 B
Nix
25 lines
642 B
Nix
{ lib, fetchFromGitHub, crystal }:
|
|
|
|
crystal.buildCrystalPackage rec {
|
|
pname = "ameba";
|
|
version = "1.6.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "crystal-ameba";
|
|
repo = "ameba";
|
|
rev = "refs/tags/v${version}";
|
|
hash = "sha256-NwmsNz9YfHDk0hVwVb5zczuzvErrwPhd3rs75t/Fj+I=";
|
|
};
|
|
|
|
format = "make";
|
|
|
|
meta = with lib; {
|
|
description = "A static code analysis tool for Crystal";
|
|
mainProgram = "ameba";
|
|
homepage = "https://crystal-ameba.github.io";
|
|
changelog = "https://github.com/crystal-ameba/ameba/releases/tag/v${version}";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ kimburgess ];
|
|
};
|
|
}
|