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

21 lines
521 B
Nix
Raw Normal View History

2020-04-18 19:57:17 -07:00
{ stdenv, lib, fetchFromGitHub, crystal }:
2019-10-21 01:35:26 -07:00
2020-04-18 19:57:17 -07:00
crystal.buildCrystalPackage rec {
2019-10-21 01:35:26 -07:00
pname = "ameba";
2020-08-31 10:04:02 -07:00
version = "0.13.2";
2019-10-21 01:35:26 -07:00
src = fetchFromGitHub {
2020-04-18 19:57:17 -07:00
owner = "crystal-ameba";
repo = "ameba";
rev = "v${version}";
2020-08-31 10:04:02 -07:00
sha256 = "0wyfx9nwda0s3arpdalz5zgh83v6wfz1a3l2k5v0jglpczq3m04m";
2019-10-21 01:35:26 -07:00
};
meta = with stdenv.lib; {
description = "A static code analysis tool for Crystal";
2020-03-28 17:34:11 -07:00
homepage = "https://crystal-ameba.github.io";
2019-10-21 01:35:26 -07:00
license = licenses.mit;
maintainers = with maintainers; [ kimburgess ];
};
}