pkg.soopen package index

brew / 排名 10047

使用 Homebrew, MacPorts, pacman, apt 安装 hindent

查看 hindent 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install hindent

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install hindent

MacPorts ports tree · textproc/hindent/Portfile · 来源: api.github.com

概览

软件包摘要

Haskell pretty printer

命令和别名

  • hindent

历史

项目历史与用法

hindent is a Haskell pretty-printer and source formatter distributed as both a Haskell package and a CLI executable. Its package-manager role is straightforward: it gives editors, hooks, and shell pipelines a stable `hindent` command for reformatting Haskell source.

项目历史

The repository history begins on 2014-08-24 with a first commit and rapid follow-up commits for printer structure, expression constructors, pattern support, declarations, where clauses, and a basic executable. The first visible tag, 1.0, followed on 2014-08-30, and the project iterated quickly through 2.x, 3.x, and 4.x tags in late 2014.

Hackage describes hindent as an extensible Haskell pretty printer, both a library and an executable, and points users to the GitHub repository for usage. Over time the package continued through 5.x and 6.x releases while tracking parser and language-extension needs in the Haskell ecosystem.

采用历史

hindent's adoption is tied to Haskell editor and build workflows. Its README documents use in pipeline style, Emacs `hindent-mode`, Vim `formatprg`, a Vim plugin, and JetBrains File Watchers. Hackage lists the package under development, library, and program tags, which reflects its dual role as code and executable.

The package appears in Homebrew, MacPorts, Arch, Ubuntu, Hackage, and Stackage contexts, making it familiar to developers who expect language formatters to be installable from their OS or language package manager.

使用方式

The basic usage model is `cat path/to/sourcefile.hs | hindent` or passing filenames to the CLI. Options cover line length, indent or tab size, import sorting, trailing newline behavior, validation, and GHC language extensions.

The README documents project- or home-level `.hindent.yaml` customization with indentation, line length, import sorting, line breaks, and extensions. Editor integrations use the same CLI, so the package works without a separate daemon or language-server dependency.

为什么软件包爱好者会关心

hindent matters to package nerds because it is a classic formatter package: tiny surface area, editor-friendly, pipeline-friendly, and available in multiple package systems. It represents the era when language communities standardized formatting through standalone executables before formatter support was expected inside every language server.

It is also a useful Haskell packaging specimen because it lives simultaneously on Hackage and GitHub, depends on parser libraries, and must follow language evolution as GHC syntax grows.

时间线

  • 2014-08-24: Repository history begins with the first commit.
  • 2014-08-30: 1.0 is tagged.
  • 2014-09: 2.x and 3.x releases are tagged during rapid early development.
  • 2014-11: 4.0 is tagged.
  • 2026-01-24: Hackage records upload of hindent 6.3.0.

Related projects

  • Hackage and Stackage are the package registry and curated package-set surfaces where many Haskell developers encounter hindent.
  • Editor integrations include the repository's Emacs mode, Vim `formatprg`, vim-hindent, and JetBrains File Watchers.
  • Related Haskell formatting tools include stylish-haskell, ormolu, fourmolu, and brittany, though hindent's official materials focus on its own formatter and editor integrations.

来源

  • Hackage package page for package description, versions, maintainer, upload, source repo, license, and distribution context.
  • Official Git repository tags and commits for early timeline.
  • Official README for usage, editor integration, and customization.

安全态势

风险级别:绿色

narrow executable package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

安装行为

  • 未记录 Homebrew bottle 元数据。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
hindent可执行文件已索引可执行文件从本地可执行文件索引发现。

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-08-03
管理器版本6.3.0
管理器更新时间2026-07-22
本地数据未知
上游不可用
检测到的最新版本未检测到
  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键brew:hindent
版本6.3.0
软件包管理器Homebrew
主页https://github.com/mihaimaruseac/hindent
仓库https://github.com/mihaimaruseac/hindent
最后更新2026-07-22T14:05:15Z
Pulseupdated
Bottle未记录
服务未声明

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Ubuntu apt95%

hindent 5.3.4-1build2

Extensible Haskell pretty printer

https://github.com/mihaimaruseac/hindent

sudo apt install hindent
  • Section: universe/misc
  • Architecture: amd64
  • Source Package: haskell-hindent
  • 4 依赖
  • normalized package name match
  • 匹配方式:Hindent
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: hindent from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
pacman95%

hindent 6.2.0-3

Extensible Haskell pretty printer

https://github.com/mihaimaruseac/hindent

sudo pacman -S hindent
  • License: BSD-3-Clause
  • Architecture: x86_64
  • 13 依赖
  • normalized package name match
  • 匹配方式:Hindent
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: hindent from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
MacPorts95%

hindent

sudo port install hindent
  • normalized package name match
  • 匹配方式:Hindent
MacPorts ports tree · api.github.com · MacPorts ports tree: textproc/hindent/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • pkg.so package database
  • pkgdb category and tag curation