2020-04-24 23:36:52 +00:00
|
|
|
{ lib
|
2021-10-17 02:12:59 +00:00
|
|
|
, crystal
|
2022-10-21 18:38:19 +00:00
|
|
|
, fetchFromGitHub
|
2020-04-24 23:36:52 +00:00
|
|
|
}:
|
|
|
|
|
2021-10-17 02:12:59 +00:00
|
|
|
crystal.buildCrystalPackage rec {
|
2020-04-24 23:36:52 +00:00
|
|
|
pname = "thicket";
|
2022-10-21 18:38:19 +00:00
|
|
|
version = "0.1.6";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "taylorthurlow";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2022-10-21 18:38:19 +00:00
|
|
|
sha256 = "sha256-sF+fNKEZEfjpW3buh6kFUpL1P0yO9g4SrTb0rhx1uNc=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
format = "shards";
|
|
|
|
|
|
|
|
crystalBinaries.thicket.src = "src/thicket.cr";
|
|
|
|
|
|
|
|
# there is one test that tries to clone a repo
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "A better one-line git log";
|
|
|
|
homepage = "https://github.com/taylorthurlow/thicket";
|
|
|
|
license = licenses.mit;
|
2020-11-19 00:13:47 +00:00
|
|
|
maintainers = with maintainers; [ Br1ght0ne ];
|
2024-01-02 11:29:13 +00:00
|
|
|
mainProgram = "thicket";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|