2024-12-02 22:35:10 -04:00
|
|
|
{
|
|
|
|
buildDotnetGlobalTool,
|
|
|
|
lib,
|
|
|
|
testers,
|
|
|
|
}:
|
2023-06-20 17:19:31 +02:00
|
|
|
|
2024-12-02 22:35:10 -04:00
|
|
|
buildDotnetGlobalTool (finalAttrs: {
|
2023-06-20 17:19:31 +02:00
|
|
|
pname = "fable";
|
2025-07-14 19:38:21 +00:00
|
|
|
version = "4.26.0";
|
2023-06-20 17:19:31 +02:00
|
|
|
|
2025-07-14 19:38:21 +00:00
|
|
|
nugetHash = "sha256-nhIGVwu6kHTW+t0hiD1Pha3+ErE5xACBrVDgFP6qMnc=";
|
2023-06-20 17:19:31 +02:00
|
|
|
|
2024-12-02 22:35:10 -04:00
|
|
|
passthru.tests = testers.testVersion {
|
|
|
|
package = finalAttrs.finalPackage;
|
|
|
|
# the version is written with an escape sequence for colour, and I couldn't
|
|
|
|
# find a way to disable it
|
|
|
|
version = "[37m${finalAttrs.version}";
|
|
|
|
};
|
|
|
|
|
2025-06-02 08:42:56 +02:00
|
|
|
meta = {
|
2025-08-11 00:32:59 -07:00
|
|
|
description = "F# to JavaScript compiler";
|
2024-03-19 03:14:51 +01:00
|
|
|
mainProgram = "fable";
|
2023-06-20 17:19:31 +02:00
|
|
|
homepage = "https://github.com/fable-compiler/fable";
|
2025-06-02 08:42:56 +02:00
|
|
|
changelog = "https://github.com/fable-compiler/fable/releases/tag/v${finalAttrs.version}";
|
|
|
|
license = lib.licenses.mit;
|
|
|
|
platforms = lib.platforms.linux;
|
|
|
|
maintainers = with lib.maintainers; [
|
2024-12-02 22:35:10 -04:00
|
|
|
anpin
|
|
|
|
mdarocha
|
|
|
|
];
|
2023-06-20 17:19:31 +02:00
|
|
|
};
|
2024-12-02 22:35:10 -04:00
|
|
|
})
|