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

21 lines
521 B
Nix
Raw Normal View History

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