1{
2 lib,
3 crystal,
4 fetchFromGitHub,
5}:
6
7crystal.buildCrystalPackage rec {
8 pname = "thicket";
9 version = "0.1.6";
10
11 src = fetchFromGitHub {
12 owner = "taylorthurlow";
13 repo = "thicket";
14 rev = "v${version}";
15 sha256 = "sha256-sF+fNKEZEfjpW3buh6kFUpL1P0yO9g4SrTb0rhx1uNc=";
16 };
17
18 format = "shards";
19
20 crystalBinaries.thicket.src = "src/thicket.cr";
21
22 # there is one test that tries to clone a repo
23 doCheck = false;
24
25 meta = with lib; {
26 description = "Better one-line git log";
27 homepage = "https://github.com/taylorthurlow/thicket";
28 license = licenses.mit;
29 maintainers = with maintainers; [ Br1ght0ne ];
30 mainProgram = "thicket";
31 };
32}