mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-27 08:04:14 +00:00
33 lines
828 B
Nix
33 lines
828 B
Nix
{
|
|
buildDotnetGlobalTool,
|
|
lib,
|
|
testers,
|
|
}:
|
|
|
|
buildDotnetGlobalTool (finalAttrs: {
|
|
pname = "fable";
|
|
version = "4.24.0";
|
|
|
|
nugetHash = "sha256-ERewWqfEyyZKpHFFALpMGJT0fDWywBYY5buU/wTZZTg=";
|
|
|
|
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 = with lib; {
|
|
description = "Fable is an F# to JavaScript compiler";
|
|
mainProgram = "fable";
|
|
homepage = "https://github.com/fable-compiler/fable";
|
|
changelog = "https://github.com/fable-compiler/fable/releases/tag/v${version}";
|
|
license = licenses.mit;
|
|
platforms = platforms.linux;
|
|
maintainers = with maintainers; [
|
|
anpin
|
|
mdarocha
|
|
];
|
|
};
|
|
})
|