Files
Ihar HrachyshkaandWolfgang Walther 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

32 lines
621 B
Nix

{
lib,
crystal,
fetchFromGitHub,
}:
crystal.buildCrystalPackage rec {
pname = "thicket";
version = "0.1.6";
src = fetchFromGitHub {
owner = "taylorthurlow";
repo = "thicket";
rev = "v${version}";
sha256 = "sha256-sF+fNKEZEfjpW3buh6kFUpL1P0yO9g4SrTb0rhx1uNc=";
};
format = "shards";
crystalBinaries.thicket.src = "src/thicket.cr";
# there is one test that tries to clone a repo
doCheck = false;
meta = {
description = "Better one-line git log";
homepage = "https://github.com/taylorthurlow/thicket";
license = lib.licenses.mit;
mainProgram = "thicket";
};
}