nixpkgs/pkgs/development/tools/ameba/default.nix
Alexis Hildebrandt 755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00

25 lines
640 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 = "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 ];
};
}