about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/compilers/ghcjs-ng/8.6/stage0.nix
blob: d6a050915145742280adc17906b03609431ad05f (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
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
{ callPackage, configuredSrc }:

{

  ghcjs = callPackage
    ({ mkDerivation, aeson, array, attoparsec, base, base16-bytestring
    , base64-bytestring, binary, bytestring, Cabal, containers
    , cryptohash, data-default, deepseq, directory, executable-path
    , filepath, ghc-api-ghcjs, ghc-boot, ghc-paths, ghci-ghcjs
    , ghcjs-th, haddock-api-ghcjs, hashable, haskell-src-exts
    , haskell-src-meta, http-types, HUnit, lens, lifted-base, mtl
    , network, optparse-applicative, parallel, parsec, process, random
    , regex-posix, safe, shelly, split, lib, stringsearch, syb
    , system-fileio, system-filepath, tar, template-haskell
    , template-haskell-ghcjs, terminfo, test-framework
    , test-framework-hunit, text, time, transformers
    , transformers-compat, unix, unix-compat, unordered-containers
    , vector, wai, wai-app-static, wai-extra, wai-websockets, warp
    , webdriver, websockets, wl-pprint-text, yaml
    }:
    mkDerivation {
      pname = "ghcjs";
      version = "8.6.0.1";
      src = configuredSrc + /.;
      isLibrary = true;
      isExecutable = true;
      enableSeparateDataOutput = true;
      setupHaskellDepends = [
        base Cabal containers directory filepath process template-haskell
        transformers
      ];
      libraryHaskellDepends = [
        aeson array attoparsec base base16-bytestring base64-bytestring
        binary bytestring Cabal containers cryptohash data-default deepseq
        directory filepath ghc-api-ghcjs ghc-boot ghc-paths ghci-ghcjs
        ghcjs-th hashable haskell-src-exts haskell-src-meta lens mtl
        optparse-applicative parallel parsec process regex-posix safe split
        stringsearch syb template-haskell template-haskell-ghcjs text time
        transformers unordered-containers vector wl-pprint-text yaml
      ];
      executableHaskellDepends = [
        aeson base binary bytestring Cabal containers directory
        executable-path filepath ghc-api-ghcjs ghc-boot haddock-api-ghcjs
        lens mtl optparse-applicative process shelly system-fileio
        system-filepath tar terminfo text time transformers
        transformers-compat unix unix-compat unordered-containers vector
        yaml
      ];
      testHaskellDepends = [
        aeson base bytestring data-default deepseq directory http-types
        HUnit lens lifted-base network optparse-applicative process random
        shelly system-fileio system-filepath test-framework
        test-framework-hunit text time transformers unordered-containers
        wai wai-app-static wai-extra wai-websockets warp webdriver
        websockets yaml
      ];
      description = "Haskell to JavaScript compiler";
      license = lib.licenses.mit;
    }) {};

  ghc-api-ghcjs = callPackage
    ({ mkDerivation, alex, array, base, binary, bytestring, containers
    , deepseq, directory, filepath, ghc-boot, ghc-boot-th, ghc-heap
    , ghci-ghcjs, happy, hpc, process, lib, template-haskell-ghcjs
    , terminfo, time, transformers, unix
    }:
    mkDerivation {
      pname = "ghc-api-ghcjs";
      version = "8.6.5";
      src = configuredSrc + /lib/ghc-api-ghcjs;
      libraryHaskellDepends = [
        array base binary bytestring containers deepseq directory filepath
        ghc-boot ghc-boot-th ghc-heap ghci-ghcjs hpc process
        template-haskell-ghcjs terminfo time transformers unix
      ];
      libraryToolDepends = [ alex happy ];
      homepage = "http://www.haskell.org/ghc/";
      description = "The GHC API (customized for GHCJS)";
      license = lib.licenses.bsd3;
    }) {};

  ghci-ghcjs = callPackage
    ({ mkDerivation, array, base, binary, bytestring, containers
    , deepseq, filepath, ghc-boot, ghc-boot-th, ghc-heap, lib
    , template-haskell-ghcjs, transformers, unix
    }:
    mkDerivation {
      pname = "ghci-ghcjs";
      version = "8.6.1";
      src = configuredSrc + /lib/ghci-ghcjs;
      libraryHaskellDepends = [
        array base binary bytestring containers deepseq filepath ghc-boot
        ghc-boot-th ghc-heap template-haskell-ghcjs transformers unix
      ];
      description = "The library supporting GHC's interactive interpreter (customized for GHCJS)";
      license = lib.licenses.bsd3;
    }) {};

  ghcjs-th = callPackage
    ({ mkDerivation, base, binary, bytestring, containers, ghc-prim
    , ghci-ghcjs, lib, template-haskell-ghcjs
    }:
    mkDerivation {
      pname = "ghcjs-th";
      version = "0.1.0.0";
      src = configuredSrc + /lib/ghcjs-th;
      libraryHaskellDepends = [
        base binary bytestring containers ghc-prim ghci-ghcjs
        template-haskell-ghcjs
      ];
      homepage = "https://github.com/ghcjs";
      license = lib.licenses.mit;
    }) {};

  haddock-api-ghcjs = callPackage
    ({ mkDerivation, array, base, bytestring, Cabal, containers, deepseq
    , directory, filepath, ghc-api-ghcjs, ghc-boot, ghc-paths
    , haddock-library-ghcjs, hspec, hspec-discover, QuickCheck, lib
    , transformers, xhtml
    }:
    mkDerivation {
      pname = "haddock-api-ghcjs";
      version = "2.20.0";
      src = configuredSrc + /lib/haddock-api-ghcjs;
      enableSeparateDataOutput = true;
      libraryHaskellDepends = [
        array base bytestring Cabal containers deepseq directory filepath
        ghc-api-ghcjs ghc-boot ghc-paths haddock-library-ghcjs transformers
        xhtml
      ];
      testHaskellDepends = [
        array base bytestring Cabal containers deepseq directory filepath
        ghc-api-ghcjs ghc-boot ghc-paths haddock-library-ghcjs hspec
        QuickCheck transformers xhtml
      ];
      testToolDepends = [ hspec-discover ];
      homepage = "http://www.haskell.org/haddock/";
      description = "A documentation-generation tool for Haskell libraries";
      license = lib.licenses.bsd3;
    }) {};

  haddock-library-ghcjs = callPackage
    ({ mkDerivation, base, base-compat, bytestring, containers, deepseq
    , directory, filepath, haddock-library, hspec, hspec-discover
    , optparse-applicative, parsec, QuickCheck, lib, text
    , transformers, tree-diff
    }:
    mkDerivation {
      pname = "haddock-library-ghcjs";
      version = "1.6.0";
      src = configuredSrc + /lib/haddock-library-ghcjs;
      libraryHaskellDepends = [
        base bytestring containers parsec text transformers
      ];
      testHaskellDepends = [
        base base-compat bytestring containers deepseq directory filepath
        haddock-library hspec optparse-applicative parsec QuickCheck text
        transformers tree-diff
      ];
      testToolDepends = [ hspec-discover ];
      homepage = "http://www.haskell.org/haddock/";
      description = "Library exposing some functionality of Haddock";
      license = lib.licenses.bsd3;
    }) {};

  template-haskell-ghcjs = callPackage
    ({ mkDerivation, base, ghc-boot-th, pretty, lib }:
    mkDerivation {
      pname = "template-haskell-ghcjs";
      version = "2.14.0.0";
      src = configuredSrc + /lib/template-haskell-ghcjs;
      libraryHaskellDepends = [ base ghc-boot-th pretty ];
      description = "Support library for Template Haskell (customized for GHCJS)";
      license = lib.licenses.bsd3;
    }) {};

}