nixpkgs/pkgs/applications/version-management/thicket/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

31 lines
642 B
Nix
Raw Normal View History

2020-01-20 14:52:26 +01:00
{ lib
2021-10-14 21:22:02 +02:00
, crystal
2022-10-11 17:56:00 +02:00
, fetchFromGitHub
2020-01-20 14:52:26 +01:00
}:
2021-10-14 21:22:02 +02:00
crystal.buildCrystalPackage rec {
2020-01-20 14:52:26 +01:00
pname = "thicket";
2022-10-11 15:59:39 +02:00
version = "0.1.6";
2020-01-20 14:52:26 +01:00
src = fetchFromGitHub {
owner = "taylorthurlow";
repo = pname;
rev = "v${version}";
2022-10-11 15:59:39 +02:00
sha256 = "sha256-sF+fNKEZEfjpW3buh6kFUpL1P0yO9g4SrTb0rhx1uNc=";
2020-01-20 14:52:26 +01:00
};
format = "shards";
2020-01-20 14:52:26 +01:00
crystalBinaries.thicket.src = "src/thicket.cr";
# there is one test that tries to clone a repo
doCheck = false;
2020-01-20 14:52:26 +01: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 14:52:26 +01:00
};
}