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