# haskell/cabal

Official upstream development repository for Cabal and cabal-install

Repository: https://github.com/haskell/cabal
Canonical: https://ross.abutalabs.com/products/cabal
Homepage: https://haskell.org/cabal
Language: Haskell
License: NOASSERTION
License Family: other
Topics: cabal, haskell, hackage
Last push: 2026-08-26T13:55:58+00:00

## Health v2 (maintenance only)
Score: 89/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 99, release rhythm 71, longevity 100
- inputs: {"age_days": 5284, "days_push": 7, "days_rel": 35, "gap_med": 108, "n_releases_24m": 6}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1745, forks 747 (observed 2026-08-28T04:05:30.633241+00:00)

## What it is
Cabal is the official build and packaging system for Haskell, comprising the Cabal library, the .cabal file format specification, and the cabal-install tool. It handles building Haskell projects, resolving dependencies from Hackage, and distributing packages in a portable way.

## Use cases
- build and package a Haskell library or application
- manage Haskell project dependencies from Hackage
- initialize a new Haskell project with cabal init
- resolve version constraints for Haskell packages
- install Haskell packages from Hackage
- define portable build metadata in .cabal files

## When to choose
- you are developing any Haskell project and need a standard build tool
- you want dependency resolution and package installation from Hackage
- you need a portable, spec-driven packaging format for Haskell libraries

## When to avoid
- you prefer Stack's curated snapshot workflows for reproducible builds
- you are not working with Haskell or GHC
- you need a general-purpose build system for non-Haskell languages

## Facets
- artifact type: cli-tool
- maturity: stable
- function: build-tool, package-manager, cli, developer-tools
- domain: developer-tools, programming-languages
- platform: windows, cli, cross-platform
- tags: haskell, cabal, hackage, package-management, build-system, dependency-solver, command-line, automation, linux, macos

## Member repositories
- haskell/cabal (main) score 89

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:30.633241+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:29:14.579215+00:00, confidence not recorded.
  - readme: https://github.com/haskell/cabal (fetched 2026-08-28T04:05:30.633241+00:00, sha b23ff42f6bc8)
  - homepage: https://haskell.org/cabal (fetched 2026-08-29T11:07:05.938068+00:00, sha 00e16bd2b135)
  - site_page: https://www.haskell.org/cabal/FAQ.html (fetched 2026-08-29T11:07:05.947739+00:00, sha f1f606a0fbf9)
- Data as of 2026-08-30T08:39:29.467469+00:00.
