Added vacuum plus deps.

svn path=/nixpkgs/trunk/; revision=15166
This commit is contained in:
Andres Löh 2009-04-20 00:18:51 +00:00
parent 035c84d06f
commit 0fc7bf4f00
5 changed files with 62 additions and 0 deletions

View File

@ -0,0 +1,13 @@
{cabal, cpphs, happy}:
cabal.mkDerivation (self : {
pname = "haskell-src-exts";
version = "0.4.8";
sha256 = "f059f698681b262b2a4725735b99ecbafec721ccadab65fcf075c2fc5d346dec";
extraBuildInputs = [happy];
propagatedBuildInputs = [cpphs];
meta = {
description = "Manipulating Haskell source: abstract syntax, lexer, parser, and pretty-printer";
};
})

View File

@ -0,0 +1,12 @@
{cabal, haskellSrcExts}:
cabal.mkDerivation (self : {
pname = "haskell-src-meta";
version = "0.0.3.1";
sha256 = "74d450fd9d50edfd3cdad5c2860da2af3454b280bd37b401e16e2f492bfb5e15";
propagatedBuildInputs = [haskellSrcExts];
meta = {
description = "Parse source to template-haskell abstract syntax";
};
})

View File

@ -0,0 +1,12 @@
{cabal, ghcPaths, haskellSrcMeta}:
cabal.mkDerivation (self : {
pname = "vacuum";
version = "0.0.91";
sha256 = "9240ec35b39d60928a73469893adf1d2aa742b9a781dbc6dcdaa54e96d9bf1af";
propagatedBuildInputs = [ghcPaths haskellSrcMeta];
meta = {
description = "Generic programming with systems of recursive datatypes";
};
})

View File

@ -0,0 +1,10 @@
{cabal} :
cabal.mkDerivation (self : {
pname = "cpphs";
version = "1.6";
sha256 = "2e7c430fde17adbb3905e6d2a3c3845a40349c61a53fcfa40c733e8b43e73295";
meta = {
description = "A liberalised re-implementation of cpp, the C pre-processor";
};
})

View File

@ -66,6 +66,14 @@ rec {
inherit cabal happy; inherit cabal happy;
}; };
haskellSrcExts = import ../development/libraries/haskell/haskell-src-exts {
inherit cabal cpphs happy;
};
haskellSrcMeta = import ../development/libraries/haskell/haskell-src-meta {
inherit cabal haskellSrcExts;
};
haskellPlatform = import ../development/libraries/haskell/haskell-platform { haskellPlatform = import ../development/libraries/haskell/haskell-platform {
inherit cabal GLUT HTTP HUnit OpenAL OpenGL QuickCheck cgi fgl inherit cabal GLUT HTTP HUnit OpenAL OpenGL QuickCheck cgi fgl
haskellSrc html parallel regexBase regexCompat regexPosix haskellSrc html parallel regexBase regexCompat regexPosix
@ -232,6 +240,10 @@ rec {
inherit (pkgs) perl; inherit (pkgs) perl;
}; };
cpphs = import ../development/tools/misc/cpphs {
inherit cabal;
};
frown = import ../development/tools/parsing/frown { frown = import ../development/tools/parsing/frown {
inherit ghc; inherit ghc;
inherit (pkgs) fetchurl stdenv; inherit (pkgs) fetchurl stdenv;
@ -270,6 +282,9 @@ rec {
inherit cabal uulib; inherit cabal uulib;
}; };
vacuum = import ../development/libraries/haskell/vacuum {
inherit cabal ghcPaths haskellSrcMeta;
};
# Applications. # Applications.