1{
2 buildDotnetGlobalTool,
3 lib,
4 testers,
5}:
6
7buildDotnetGlobalTool (finalAttrs: {
8 pname = "fable";
9 version = "4.26.0";
10
11 nugetHash = "sha256-nhIGVwu6kHTW+t0hiD1Pha3+ErE5xACBrVDgFP6qMnc=";
12
13 passthru.tests = testers.testVersion {
14 package = finalAttrs.finalPackage;
15 # the version is written with an escape sequence for colour, and I couldn't
16 # find a way to disable it
17 version = "[37m${finalAttrs.version}";
18 };
19
20 meta = {
21 description = "Fable is an F# to JavaScript compiler";
22 mainProgram = "fable";
23 homepage = "https://github.com/fable-compiler/fable";
24 changelog = "https://github.com/fable-compiler/fable/releases/tag/v${finalAttrs.version}";
25 license = lib.licenses.mit;
26 platforms = lib.platforms.linux;
27 maintainers = with lib.maintainers; [
28 anpin
29 mdarocha
30 ];
31 };
32})