Automic VaultAutomic Vault

brew

fourmolu を Homebrew, Nix でインストール

fourmolu のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

インストール

追加のインストールコマンド

macOS

Homebrew確認済み · 100%
brew install fourmolu

local Homebrew formula metadata

Linux

Nix確認済み · 92%
nix profile install nixpkgs#fourmolu

nixpkgs package indexes · pkgs/by-name/fo/fourmolu/package.nix · ソース: api.github.com

概要

パッケージ概要

Formatter for Haskell source code

コマンドとエイリアス

  • fourmolu

履歴

プロジェクトの歴史と使われ方

Fourmolu is a formatter for Haskell source code. It is an Ormolu fork that keeps Ormolu's parser-driven, idempotent formatting goals while adding configurable style options through CLI flags and `fourmolu.yaml`.

プロジェクトの歴史

The repository was created in 2020 and describes itself as a fork of Ormolu with upstream improvements continually merged. The official README frames the project around one key departure from Ormolu: replacing the no-configuration style rule with configurable parameters.

The changelog shows a pattern of adding Fourmolu-specific configuration while also importing upstream Ormolu changes, including parser updates, formatting fixes, and support for new GHC language features.

採用の歴史

Fourmolu is adopted by Haskell projects that want automatic formatting but need policy knobs that Ormolu intentionally avoids. The README documents installation through GHCup, Cabal, Stack, release notes, editor integration through Haskell Language Server, and CI through the recommended `run-fourmolu` GitHub Action.

使われ方

Users run `fourmolu Module.hs` to print formatted output, `fourmolu -i` to rewrite files, or `fourmolu --mode check` in CI. Configuration can be written in `fourmolu.yaml`, discovered from parent directories and the XDG config directory, or passed as command-line options.

パッケージ好きにとっての重要性

Fourmolu is a package-nerd case study in formatter governance. It forked an intentionally opinionated tool not to change the parser architecture, but to change the social contract around style configuration, while still tracking upstream Ormolu.

タイムライン

  • 2020: The public `fourmolu/fourmolu` repository was created.
  • 2023: v0.13.x and v0.14.x releases continued the configurable formatter line.
  • 2024: v0.16.x added explicit configuration-file selection and upstream parser updates.
  • 2025: v0.19.0.0 added options such as `haddock-location-signature` and `if-style`.
  • 2026: v0.20.0.0 made Fourmolu installable with GHCup and added more import-grouping and record-style configuration.

Related projects

  • Fourmolu is directly related to Ormolu, GHC, ghc-lib-parser, Cabal, Stack, GHCup, Haskell Language Server, Hackage, and the `run-fourmolu` GitHub Action.

セキュリティ状態

リスクレベル: グリーン

narrow executable package without higher-risk signals.

リスク分類器

リスク グリーン · 信頼度 低 · appliance

理由

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

インストール挙動

  • formula メタデータに Homebrew post-install フックは記録されていません。
  • Homebrew bottle メタデータは 6 個のプラットフォームターゲットで利用できます。
  • 1 件の実行時依存関係とともにインストールされます。
  • ビルドメタデータには 2 件のビルド依存関係があります。

推奨レビュー

エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。

local files

Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.

Configuration files

Config paths the tool may read or write during local use.

Unix
fourmolu.yaml

実行可能ファイル

インストールされる実行可能ファイル

コマンド種類公開範囲メモ
fourmolucliグローバル実行可能ファイル

鮮度

バージョンと鮮度

これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。

ページ生成日2026-07-25
マネージャ版0.20.0.0
マネージャ更新日2026-07-22
ローカルデータOK
上流not checked
検出された最新未検出

https://fourmolu.github.io/

インストールメタデータ

パッケージメタデータ

パッケージキーbrew:fourmolu
バージョン0.20.0.0
パッケージマネージャHomebrew
パッケージマネージャページhttps://formulae.brew.sh/formula/fourmolu
ホームページhttps://fourmolu.github.io/
リポジトリhttps://github.com/fourmolu/fourmolu
上流ドキュメントhttps://fourmolu.github.io/
ライセンスBSD-3-Clause
ソースアーカイブhttps://hackage.haskell.org/package/fourmolu-0.20.0.0/fourmolu-0.20.0.0.tar.gz
最終更新2026-07-22T05:23:32Z
Pulseupdated
依存関係gmp
ビルド依存関係cabal-install, ghc
macOS 提供ライブラリlibffi
Bottle利用可能 (対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定義
サービス宣言なし

レジストリ情報

ソースデータベース詳細

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namefourmolu
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

ソースデータベース一致

他のパッケージマネージャ記録

一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。

Nix95%

fourmolu

nix profile install nixpkgs#fourmolu
  • normalized package name match
  • 一致条件: Fourmolu
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/fo/fourmolu/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

ソース経路

リポジトリデータから生成

このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。

使用ソース

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment