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>
24 lines
480 B
Nix
24 lines
480 B
Nix
{
|
|
lib,
|
|
bundlerApp,
|
|
bundlerUpdateScript,
|
|
}:
|
|
|
|
bundlerApp {
|
|
pname = "youplot";
|
|
gemdir = ./.;
|
|
|
|
exes = [ "uplot" ];
|
|
|
|
passthru.updateScript = bundlerUpdateScript "youplot";
|
|
|
|
meta = {
|
|
description = "Command line tool that draws plots on the terminal";
|
|
homepage = "https://github.com/red-data-tools/YouPlot";
|
|
mainProgram = "uplot";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [ purcell ];
|
|
platforms = lib.platforms.unix;
|
|
};
|
|
}
|