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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

24 lines
627 B
Nix
Raw Normal View History

2023-04-18 18:59:58 +00:00
{ lib, fetchFromGitHub, fetchpatch, crystal }:
2019-10-21 08:35:26 +00:00
2020-04-19 02:57:17 +00:00
crystal.buildCrystalPackage rec {
2019-10-21 08:35:26 +00:00
pname = "ameba";
version = "1.5.0";
2019-10-21 08:35:26 +00:00
src = fetchFromGitHub {
2020-04-19 02:57:17 +00:00
owner = "crystal-ameba";
repo = "ameba";
2023-02-22 08:57:24 +00:00
rev = "refs/tags/v${version}";
hash = "sha256-TdyEnTloaciSpkPmnm+OM75sz9jaCaQ3VoDEepfescU=";
2019-10-21 08:35:26 +00:00
};
2022-08-05 03:14:56 +00:00
format = "make";
meta = with lib; {
2019-10-21 08:35:26 +00:00
description = "A static code analysis tool for Crystal";
2020-03-29 00:34:11 +00:00
homepage = "https://crystal-ameba.github.io";
2023-02-22 08:57:24 +00:00
changelog = "https://github.com/crystal-ameba/ameba/releases/tag/v${version}";
2019-10-21 08:35:26 +00:00
license = licenses.mit;
maintainers = with maintainers; [ kimburgess ];
};
}