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>
23 lines
495 B
Nix
23 lines
495 B
Nix
{
|
|
lib,
|
|
bundlerApp,
|
|
bundlerUpdateScript,
|
|
}:
|
|
|
|
bundlerApp {
|
|
pname = "licensee";
|
|
gemdir = ./.;
|
|
exes = [ "licensee" ];
|
|
|
|
passthru.updateScript = bundlerUpdateScript "licensee";
|
|
|
|
meta = {
|
|
description = "Ruby Gem to detect under what license a project is distributed";
|
|
homepage = "https://licensee.github.io/licensee/";
|
|
license = lib.licenses.mit;
|
|
maintainers = [ lib.maintainers.sternenseemann ];
|
|
platforms = lib.platforms.unix;
|
|
mainProgram = "licensee";
|
|
};
|
|
}
|