nixpkgs/pkgs/development/tools/fable/default.nix
stuebinm ff1a94e523 treewide: add meta.mainProgram to packages with a single binary
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
2024-03-19 03:14:51 +01:00

20 lines
583 B
Nix

{ buildDotnetGlobalTool, lib }:
buildDotnetGlobalTool {
pname = "fable";
version = "4.13.0";
nugetSha256 = "sha256-jjvAAhnCkCBLG2sq3ehCTdg/thaVW7A7nXyVCSAGm3k=";
passthru.updateScript = ./update.sh;
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 ];
};
}