Files
nixpkgs/pkgs/by-name/fa/fable/package.nix
2026-07-24 17:43:14 +00:00

37 lines
972 B
Nix

{
buildDotnetGlobalTool,
dotnetCorePackages,
lib,
testers,
}:
buildDotnetGlobalTool (finalAttrs: {
pname = "fable";
version = "5.13.0";
nugetHash = "sha256-5Ann8sD07LhtRkW0fpm4P90cjVfujyeb8LW4ffZ/EBI=";
dotnet-sdk = dotnetCorePackages.sdk_10_0;
dotnet-runtime = dotnetCorePackages.runtime_10_0;
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}";
};
meta = {
description = "F# to JavaScript compiler";
mainProgram = "fable";
homepage = "https://github.com/fable-compiler/fable";
changelog = "https://github.com/fable-compiler/fable/releases/tag/v${finalAttrs.version}";
license = lib.licenses.mit;
platforms = lib.platforms.linux ++ lib.platforms.darwin;
maintainers = with lib.maintainers; [
anpin
mdarocha
];
};
})