2020-04-24 23:36:52 +00:00
|
|
|
{ lib
|
|
|
|
, fetchFromGitHub
|
|
|
|
, crystal_0_33
|
|
|
|
}:
|
|
|
|
|
|
|
|
let
|
|
|
|
crystal = crystal_0_33;
|
|
|
|
|
|
|
|
in crystal.buildCrystalPackage rec {
|
|
|
|
pname = "thicket";
|
2021-02-13 14:23:35 +00:00
|
|
|
version = "0.1.4";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "taylorthurlow";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2021-02-13 14:23:35 +00:00
|
|
|
sha256 = "sha256-A89E0CbV7VFB7W4ycFcZloP0J/d42agEuD+hs9a6a6E=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
format = "shards";
|
|
|
|
|
|
|
|
shardsFile = ./shards.nix;
|
|
|
|
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 ];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|