← All packages

template-haskell2.24.0.0

Support library for Template Haskell

Open the imported Cabal file ↗

bug-reports
https://gitlab.haskell.org/ghc/ghc/issues/new
build-type
Simple
cabal-version
>= 1.10
category
Template Haskell
extra-source-files
changelog.md
license
BSD3
license-file
LICENSE
maintainer
libraries@haskell.org
name
template-haskell
synopsis
Support library for Template Haskell
version
2.24.0.0
Show the complete metadata as JSON
{
  "schemaVersion": 1,
  "name": "template-haskell",
  "version": "2.24.0.0",
  "cabalVersion": "1.10",
  "buildType": "Simple",
  "fields": {
    "bug-reports": [
      "https://gitlab.haskell.org/ghc/ghc/issues/new"
    ],
    "build-type": [
      "Simple"
    ],
    "cabal-version": [
      ">= 1.10"
    ],
    "category": [
      "Template Haskell"
    ],
    "description": [
      "This package provides modules containing facilities for manipulating\nHaskell source code using Template Haskell.\n.\nSee <http://www.haskell.org/haskellwiki/Template_Haskell> for more\ninformation."
    ],
    "extra-source-files": [
      "changelog.md"
    ],
    "license": [
      "BSD3"
    ],
    "license-file": [
      "LICENSE"
    ],
    "maintainer": [
      "libraries@haskell.org"
    ],
    "name": [
      "template-haskell"
    ],
    "synopsis": [
      "Support library for Template Haskell"
    ],
    "version": [
      "2.24.0.0"
    ]
  },
  "components": [
    {
      "kind": "library",
      "name": "main",
      "tree": {
        "data": {
          "buildable": null,
          "exposedModules": [
            "Language.Haskell.TH",
            "Language.Haskell.TH.Lib",
            "Language.Haskell.TH.Ppr",
            "Language.Haskell.TH.PprLib",
            "Language.Haskell.TH.Quote",
            "Language.Haskell.TH.Syntax",
            "Language.Haskell.TH.LanguageExtensions",
            "Language.Haskell.TH.CodeDo"
          ],
          "otherModules": [
            "System.FilePath",
            "System.FilePath.Posix",
            "System.FilePath.Windows"
          ],
          "dependencies": [
            {
              "package": "base",
              "range": ">=4.11 && <4.23",
              "libraries": [
                "main"
              ]
            },
            {
              "package": "ghc-internal",
              "range": ">=9.1401 && <9.1402",
              "libraries": [
                "main"
              ]
            },
            {
              "package": "ghc-boot-th",
              "range": "==9.14.1",
              "libraries": [
                "main"
              ]
            }
          ],
          "fields": {}
        },
        "branches": []
      }
    }
  ],
  "setupDependencies": [],
  "flags": [],
  "sourceRepositories": [
    {
      "kind": "head",
      "fields": {
        "location": [
          "https://gitlab.haskell.org/ghc/ghc.git"
        ],
        "subdir": [
          "libraries/template-haskell"
        ],
        "type": [
          "git"
        ]
      }
    }
  ],
  "warnings": [],
  "sourceUrl": "https://hackage.haskell.org/package/template-haskell-2.24.0.0/template-haskell.cabal",
  "sha256": "286d2788d95e4713c62cc9693d1f73cad88749c23c5e1958a0fb4377328633c5",
  "importedAt": "2026-10-04T10:00:11.618Z",
  "dependencies": [
    {
      "package": "base",
      "range": ">=4.11 && <4.23",
      "libraries": [
        "main"
      ],
      "component": "library:main",
      "conditions": []
    },
    {
      "package": "ghc-internal",
      "range": ">=9.1401 && <9.1402",
      "libraries": [
        "main"
      ],
      "component": "library:main",
      "conditions": []
    },
    {
      "package": "ghc-boot-th",
      "range": "==9.14.1",
      "libraries": [
        "main"
      ],
      "component": "library:main",
      "conditions": []
    }
  ],
  "exposedModules": [
    "Language.Haskell.TH",
    "Language.Haskell.TH.Lib",
    "Language.Haskell.TH.Ppr",
    "Language.Haskell.TH.PprLib",
    "Language.Haskell.TH.Quote",
    "Language.Haskell.TH.Syntax",
    "Language.Haskell.TH.LanguageExtensions",
    "Language.Haskell.TH.CodeDo"
  ],
  "documents": {
    "readme": {
      "status": "missing",
      "sha256": null,
      "error": null,
      "checkedAt": "2026-10-04T10:00:12.510Z"
    },
    "changelog": {
      "status": "available",
      "sha256": "5e182b5249fd2902bd735b79835744433377afba2da1d5f202dcacbb0634ceae",
      "error": null,
      "checkedAt": "2026-10-04T10:00:12.708Z"
    }
  },
  "versions": [
    {
      "version": "2.24.0.0",
      "imported_at": "2026-10-04T10:00:11.618Z"
    }
  ]
}

Import a package

Enter a package name and an exact version from Hackage. The site contains imported versions only.