8ac5e011d6
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
34 lines
711 B
Nix
34 lines
711 B
Nix
{ lib
|
|
, fetchFromGitHub
|
|
, crystal_0_33
|
|
}:
|
|
|
|
let
|
|
crystal = crystal_0_33;
|
|
|
|
in crystal.buildCrystalPackage rec {
|
|
pname = "thicket";
|
|
version = "0.1.3";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "taylorthurlow";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "0hkmmssiwipx373d0zw9a2yn72gqzqzcvwkqbs522m5adz6qmkzw";
|
|
};
|
|
|
|
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;
|
|
maintainers = with maintainers; [ filalex77 ];
|
|
};
|
|
}
|