about summary refs log tree commit diff
path: root/pkgs/development/compilers/ghcjs/8.10/stage0.nix
blob: d173d5a2e557766687c7987b14cd02ab0bd5beda (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
{ callPackage, configuredSrc }:

{

  ghcjs = callPackage
    ({ mkDerivation, aeson, alex, array, attoparsec, base, base16-bytestring
     , base64-bytestring, binary, bytestring, Cabal, containers
     , cryptohash, data-default, deepseq, directory, executable-path
     , filepath, ghc-boot, ghc-boot-th, ghc-compact, ghc-heap, ghc-paths
     , ghci, happy, hashable, hpc, http-types, HUnit, lens, lib
     , lifted-base, mtl, network, optparse-applicative, parallel, parsec
     , process, random, safe, shelly, split, stringsearch, syb, tar
     , template-haskell, terminfo, test-framework, test-framework-hunit
     , text, time, transformers, unix, unix-compat, unordered-containers
     , vector, wai, wai-app-static, wai-extra, wai-websockets, warp
     , webdriver, websockets, wl-pprint-text, xhtml, yaml
     }:
     mkDerivation {
       pname = "ghcjs";
       version = "8.10.7";
       src = configuredSrc + /.;
       isLibrary = true;
       isExecutable = true;
       libraryHaskellDepends = [
         aeson array attoparsec base base16-bytestring base64-bytestring
         binary bytestring Cabal containers cryptohash data-default deepseq
         directory filepath ghc-boot ghc-boot-th ghc-compact ghc-heap
         ghc-paths ghci hashable hpc lens mtl optparse-applicative parallel
         parsec process safe split stringsearch syb template-haskell
         terminfo text time transformers unix unordered-containers vector
         wl-pprint-text yaml
       ];
       libraryToolDepends = [ alex happy ];
       executableHaskellDepends = [
         aeson array base binary bytestring Cabal containers deepseq
         directory executable-path filepath ghc-boot lens mtl
         optparse-applicative parsec process tar terminfo text time
         transformers unix unix-compat unordered-containers vector xhtml
         yaml
       ];
       testHaskellDepends = [
         aeson base bytestring data-default deepseq directory filepath
         http-types HUnit lens lifted-base network optparse-applicative
         process random shelly 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;
     }) {};

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

  ghcjs-prim = callPackage
    ({ mkDerivation, base, ghc-prim, lib }:
    mkDerivation {
      pname = "ghcjs-prim";
      version = "0.1.1.0";
      src = ./.;
      libraryHaskellDepends = [ base ghc-prim ];
      homepage = "https://github.com/ghcjs";
      license = lib.licenses.mit;
    }) {};
}