-
Notifications
You must be signed in to change notification settings - Fork 244
/
Copy pathtemplate-haskell.nix
36 lines (36 loc) · 1.13 KB
/
template-haskell.nix
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
{ system
, compiler
, flags
, pkgs
, hsPkgs
, pkgconfPkgs
, errorHandler
, config
, ... }:
{
flags = {};
package = {
specVersion = "1.10";
identifier = { name = "template-haskell"; version = "2.22.0.0"; };
license = "BSD-3-Clause";
copyright = "";
maintainer = "[email protected]";
author = "";
homepage = "";
url = "";
synopsis = "Support library for 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.";
buildType = "Simple";
};
components = {
"library" = {
depends = [
(hsPkgs."base" or (errorHandler.buildDepError "base"))
(hsPkgs."ghc-boot-th" or (errorHandler.buildDepError "ghc-boot-th"))
(hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim"))
(hsPkgs."pretty" or (errorHandler.buildDepError "pretty"))
];
buildable = true;
};
};
} // rec { src = pkgs.lib.mkDefault ./.; }