GET /api/v1/ports/ghc/
HTTP 200 OK
Allow: GET, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "name": "ghc",
    "portdir": "lang/ghc",
    "version": "9.12.1",
    "license": "BSD",
    "platforms": "darwin",
    "epoch": 0,
    "replaced_by": null,
    "homepage": "https://haskell.org/ghc",
    "description": "The Glorious Glasgow Haskell Compilation System",
    "long_description": "The Glasgow Haskell Compiler is a robust, fully-featured, optimising compiler and interactive environment for Haskell 98, GHC compiles Haskell to either native code or C. It implements numerous experimental language extensions to Haskell 98, for example: concurrency, a foreign language interface, multi-parameter type classes, scoped type variables, existential and universal quantification, unboxed types, exceptions, weak pointers, and so on. GHC comes with a generational garbage collector, and a space and time profiler.",
    "active": true,
    "categories": [
        "lang",
        "haskell"
    ],
    "maintainers": [
        {
            "name": "s.t.smith",
            "github": "essandess",
            "ports_count": 35
        }
    ],
    "variants": [
        "prebuilt"
    ],
    "dependencies": [
        {
            "type": "build",
            "ports": [
                "py313-sphinx",
                "bzip2",
                "gzip",
                "xz",
                "alex",
                "autoconf",
                "automake",
                "cctools",
                "happy",
                "hscolour",
                "libtool",
                "openssl",
                "bash",
                "file",
                "grep",
                "texlive-fonts-extra",
                "texlive-fonts-recommended",
                "texlive-latex-extra",
                "texlive-xetex",
                "gsed",
                "cabal-prebuilt",
                "ghc-prebuilt",
                "hadrian",
                "clang-17",
                "python313"
            ]
        },
        {
            "type": "extract",
            "ports": [
                "xz"
            ]
        },
        {
            "type": "fetch",
            "ports": [
                "gnupg2"
            ]
        },
        {
            "type": "lib",
            "ports": [
                "cctools",
                "gmp",
                "ld64",
                "ncurses",
                "libiconv",
                "llvm-15"
            ]
        },
        {
            "type": "patch",
            "ports": [
                "cabal-prebuilt",
                "ghc-prebuilt"
            ]
        }
    ],
    "depends_on": [
        {
            "type": "build",
            "ports": [
                "Djinn",
                "hindent",
                "HaXml",
                "aeson-pretty",
                "cpphs",
                "lhs2tex",
                "hlint",
                "Omega",
                "matterhorn",
                "pure-gen",
                "haskell-stan",
                "shellcheck",
                "git-annex",
                "haskell-language-server",
                "adblock2privoxy"
            ]
        },
        {
            "type": "lib",
            "ports": [
                "gtk2hs",
                "haskell-language-server",
                "ihaskell",
                "DoCon",
                "cabal"
            ]
        },
        {
            "type": "run",
            "ports": [
                "haskell-mode.el"
            ]
        }
    ]
}