nixpkgs/pkgs/applications/version-management/git-and-tools/thicket/default.nix

35 lines
710 B
Nix
Raw Normal View History

2020-01-20 13:52:26 +00:00
{ lib
, fetchFromGitHub
, crystal_0_33
2020-01-20 13:52:26 +00:00
}:
let
crystal = crystal_0_33;
in crystal.buildCrystalPackage rec {
2020-01-20 13:52:26 +00:00
pname = "thicket";
2021-02-06 21:59:42 +00:00
version = "0.1.4";
2020-01-20 13:52:26 +00:00
src = fetchFromGitHub {
owner = "taylorthurlow";
repo = pname;
rev = "v${version}";
2021-02-06 21:59:42 +00:00
sha256 = "sha256-A89E0CbV7VFB7W4ycFcZloP0J/d42agEuD+hs9a6a6E=";
2020-01-20 13:52:26 +00:00
};
format = "shards";
2020-01-20 13:52:26 +00:00
shardsFile = ./shards.nix;
crystalBinaries.thicket.src = "src/thicket.cr";
# 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;
maintainers = with maintainers; [ Br1ght0ne ];
2020-01-20 13:52:26 +00:00
};
}