2020-01-20 13:52:26 +00:00
|
|
|
{ lib
|
|
|
|
, fetchFromGitHub
|
2021-10-14 19:22:02 +00:00
|
|
|
, crystal
|
2020-01-20 13:52:26 +00:00
|
|
|
}:
|
|
|
|
|
2021-10-14 19:22:02 +00:00
|
|
|
crystal.buildCrystalPackage rec {
|
2020-01-20 13:52:26 +00:00
|
|
|
pname = "thicket";
|
2021-09-15 01:27:07 +00:00
|
|
|
version = "0.1.5";
|
2020-01-20 13:52:26 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "taylorthurlow";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2021-09-15 01:27:07 +00:00
|
|
|
sha256 = "sha256-7X1RKj/FWgJdgA7P746hU0ndUM49fH79ZNRSkvNZYFg=";
|
2020-01-20 13:52:26 +00:00
|
|
|
};
|
|
|
|
|
2020-04-19 16:08:50 +00:00
|
|
|
format = "shards";
|
|
|
|
|
2020-01-20 13:52:26 +00:00
|
|
|
shardsFile = ./shards.nix;
|
|
|
|
crystalBinaries.thicket.src = "src/thicket.cr";
|
|
|
|
|
2020-04-19 16:08:50 +00:00
|
|
|
# there is one test that tries to clone a repo
|
|
|
|
doCheck = false;
|
|
|
|
|
2020-01-20 13:52:26 +00:00
|
|
|
meta = with lib; {
|
|
|
|
description = "A better one-line git log";
|
|
|
|
homepage = "https://github.com/taylorthurlow/thicket";
|
|
|
|
license = licenses.mit;
|
2020-11-17 11:02:06 +00:00
|
|
|
maintainers = with maintainers; [ Br1ght0ne ];
|
2020-01-20 13:52:26 +00:00
|
|
|
};
|
2020-04-19 16:08:50 +00:00
|
|
|
}
|