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>
18 lines
475 B
Nix
18 lines
475 B
Nix
{ buildDotnetGlobalTool, lib }:
|
|
|
|
buildDotnetGlobalTool {
|
|
pname = "fantomas";
|
|
version = "7.0.3";
|
|
|
|
nugetHash = "sha256-0XlfV7SxXPDnk/CjkUesJSaH0cxlNHJ+Jj86zNUhkNA=";
|
|
|
|
meta = {
|
|
description = "F# source code formatter";
|
|
homepage = "https://github.com/fsprojects/fantomas";
|
|
license = lib.licenses.asl20;
|
|
platforms = lib.platforms.linux ++ lib.platforms.darwin;
|
|
maintainers = with lib.maintainers; [ mikaelfangel ];
|
|
mainProgram = "fantomas";
|
|
};
|
|
}
|