2019-12-03 15:38:58 +00:00
|
|
|
{ lib, fetchFromGitHub, crystal }:
|
2018-09-21 01:51:37 +01:00
|
|
|
|
2019-12-03 15:38:58 +00:00
|
|
|
crystal.buildCrystalPackage rec {
|
2018-11-04 23:32:52 +00:00
|
|
|
pname = "scry";
|
2019-12-03 15:38:58 +00:00
|
|
|
version = "0.8.1";
|
2018-09-21 01:51:37 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2019-12-03 15:38:58 +00:00
|
|
|
owner = "crystal-lang-tools";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "0ii4k9l3dgm1c9lllc8ni9dar59lrxik0v9iz7gk3d6v62wwnq79";
|
2018-09-21 01:51:37 +01:00
|
|
|
};
|
|
|
|
|
2019-12-03 15:38:58 +00:00
|
|
|
shardsFile = ./shards.nix;
|
|
|
|
crystalBinaries.scry.src = "src/scry.cr";
|
2019-06-25 04:32:56 +01:00
|
|
|
|
2019-12-03 15:38:58 +00:00
|
|
|
meta = with lib; {
|
2018-09-21 01:51:37 +01:00
|
|
|
description = "Code analysis server for the Crystal programming language";
|
2019-12-03 15:38:58 +00:00
|
|
|
homepage = "https://github.com/crystal-lang-tools/scry";
|
2018-09-21 01:51:37 +01:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ peterhoeg ];
|
|
|
|
};
|
|
|
|
}
|