about summary refs log tree commit diff
path: root/pkgs/development/libraries/haskell/haskell-platform/haskell-platform-2012.4.0.0.cabal
blob: 23d1f7a0a7d961731e90e44d2d6f44c7fce74fb6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
name:                haskell-platform
version:             2012.4.0.0
homepage:            http://haskell.org/platform
license:             BSD3
license-file:        LICENSE
author:              libraries@haskell.org
maintainer:          haskell-platform@projects.haskell.org
category:            System
synopsis:            The Haskell Platform
description:
    The Haskell Platform (HP) is the blessed set of libraries and tools on
    which to build further Haskell libraries and applications. It is
    intended to provide a comprehensive, stable, and quality tested base for
    Haskell projects to work from.
    .
    This version specifies the following additional developer tools be
    installed, for a system to be in full compliance:
    .
    * cabal-install
    * alex
    * happy
    * haddock

cabal-version:       >= 1.8
build-type:          Custom
tested-with:         GHC ==7.4.2

flag include-ghc-depends
  description: Include all the GHC provided packages in the dependencies
  default:     False

library
  if flag(include-ghc-depends)
    build-depends:
      ghc                      ==7.4.2,

      -- Core libraries: provided by every ghc installation
      -- We don't include "non-API" packages here.
      --                                        begin core packages
      array                    ==0.4.0.0,
      base                     ==4.5.1.0,
      bytestring               ==0.9.2.1,
      Cabal                    ==1.14.0,
      containers               ==0.4.2.1,
      deepseq                  ==1.3.0.0,
      directory                ==1.1.0.2,
      extensible-exceptions    ==0.1.1.4,
      filepath                 ==1.3.0.0,
      haskell2010              ==1.1.0.1,
      haskell98                ==2.0.0.1,
      hpc                      ==0.5.1.1,
      old-locale               ==1.0.0.4,
      old-time                 ==1.1.0.0,
      pretty                   ==1.1.1.0,
      process                  ==1.1.0.1,
      template-haskell         ==2.7.0.0,
      time                     ==1.4
  if !os(windows)
    build-depends:
      unix                     ==2.5.1.1
      --                                        end core packages
  else
    build-depends:
      Win32                    ==2.2.2.0

  build-depends:
    -- Libraries in addition to what GHC provides:
    -- Note: newer versions of cgi need monad-catchio.
    --                                          begin platform packages
    async                       ==2.0.1.3,
    cgi                         ==3001.1.7.4,
    fgl                         ==5.4.2.4,
    GLUT                        ==2.1.2.1,
    haskell-src                 ==1.0.1.5,
    html                        ==1.0.1.2,
    HTTP                        ==4000.2.5,
    HUnit                       ==1.2.5.1,
    mtl                         ==2.1.2,
    network                     ==2.3.1.0,
    OpenGL                      ==2.2.3.1,
    parallel                    ==3.2.0.3,
    parsec                      ==3.1.3,
    QuickCheck                  ==2.5.1.1,
    random                      ==1.0.1.1,
    regex-base                  ==0.93.2,
    regex-compat                ==0.95.1,
    regex-posix                 ==0.95.2,
    split                       ==0.2.1.1,
    stm                         ==2.4,
    syb                         ==0.3.7,
    text                        ==0.11.2.3,
    transformers                ==0.3.0.0,
    vector                      ==0.10.0.1,
    xhtml                       ==3000.2.1,
    zlib                        ==0.5.4.0,

    -- Libraries that are needed to support the above,
    -- though are not officially part of the platform
    primitive                   ==0.5.0.1

  -- Depending on programs does not work, they are not registered
  -- We list them to help distro packaging.
  build-tools:
    cabal-install               ==0.14.0,
    alex                        ==3.0.2,
    happy                       ==1.18.10
    --                                          end platform packages
    -- hscolour                 ==1.19   -- ???
    -- haddock                  ==2.11.0 -- need to use the one shipped with ghc

-- N.B.: The begin/end comment annotations are used to build the source
-- installer: Packages that are part of the core are checked at build time.
-- Source of packages that are part of the platform are included in the tarball.