depot/third_party/nixpkgs/pkgs/applications/version-management/git-and-tools/thicket/default.nix
Default email 9543354213 Project import generated by Copybara.
GitOrigin-RevId: c21ba4f7bb4a3d621eb1d187e6b5e816bb85380c
2021-09-28 10:13:01 +02:00

34 lines
708 B
Nix

{ lib
, fetchFromGitHub
, crystal_1_0
}:
let
crystal = crystal_1_0;
in crystal.buildCrystalPackage rec {
pname = "thicket";
version = "0.1.5";
src = fetchFromGitHub {
owner = "taylorthurlow";
repo = pname;
rev = "v${version}";
sha256 = "sha256-7X1RKj/FWgJdgA7P746hU0ndUM49fH79ZNRSkvNZYFg=";
};
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; [ Br1ght0ne ];
};
}