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

21 lines
505 B
Nix
Raw Normal View History

{ lib, fetchFromGitHub, crystal }:
2019-10-21 11:35:26 +03:00
2020-04-19 05:57:17 +03:00
crystal.buildCrystalPackage rec {
2019-10-21 11:35:26 +03:00
pname = "ameba";
2021-04-22 07:50:48 +03:00
version = "0.14.3";
2019-10-21 11:35:26 +03:00
src = fetchFromGitHub {
2020-04-19 05:57:17 +03:00
owner = "crystal-ameba";
repo = "ameba";
rev = "v${version}";
2021-04-22 07:50:48 +03:00
sha256 = "sha256-oZdaHV+vnYUiCXNMrSuHvZzDYDgFZsoD715DE3tJ2bE=";
2019-10-21 11:35:26 +03:00
};
meta = with lib; {
2019-10-21 11:35:26 +03:00
description = "A static code analysis tool for Crystal";
2020-03-29 03:34:11 +03:00
homepage = "https://crystal-ameba.github.io";
2019-10-21 11:35:26 +03:00
license = licenses.mit;
maintainers = with maintainers; [ kimburgess ];
};
}