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

32 lines
671 B
Nix
Raw Normal View History

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
};
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
};
}