add hslogger-templates, parsec3, update myhasktags, fix terminfo for older ghcs
svn path=/nixpkgs/trunk/; revision=16482
This commit is contained in:
parent
58239ae82a
commit
9b3655cef0
@ -0,0 +1,12 @@
|
||||
{cabal, hslogger, mtl}:
|
||||
|
||||
cabal.mkDerivation (self : {
|
||||
pname = "hslogger-template";
|
||||
version = "1.0.0";
|
||||
sha256 = "0lnscbilzr5avi2h831kv2xhahh7pi5g054bw0sy57a1ccm2pvs1";
|
||||
propagatedBuildInputs = [ hslogger mtl ];
|
||||
meta = {
|
||||
description = "Library for generating hslogger functions using Template Haskell";
|
||||
};
|
||||
})
|
||||
|
12
pkgs/development/libraries/haskell/parsec/3.nix
Normal file
12
pkgs/development/libraries/haskell/parsec/3.nix
Normal file
@ -0,0 +1,12 @@
|
||||
{cabal,mtl}:
|
||||
|
||||
cabal.mkDerivation (self : {
|
||||
pname = "parsec";
|
||||
version = "3.0.0"; # Haskell Platform 2009.0.0
|
||||
sha256 = "0fqryy09y8h7z0hlayg5gpavghgwa0g3bldynwl17ks8l87ykj7a";
|
||||
propagatedBuildInputs = [mtl];
|
||||
meta = {
|
||||
description = "Monadic parser combinators";
|
||||
};
|
||||
})
|
||||
|
@ -1,10 +1,10 @@
|
||||
{cabal, ncurses}:
|
||||
{cabal, ncurses, extensibleExceptions}:
|
||||
|
||||
cabal.mkDerivation (self : {
|
||||
pname = "terminfo";
|
||||
version = "0.3.0.2";
|
||||
sha256 = "2303d934fcec0f6413f15887f7f42e8e2e5b27812534a929bf585bfa6f3a9229";
|
||||
propagatedBuildInputs = [ncurses];
|
||||
propagatedBuildInputs = [ncurses extensibleExceptions];
|
||||
meta = {
|
||||
description = "Haskell bindings for the terminfo library";
|
||||
};
|
||||
|
@ -22,7 +22,7 @@ stdenv.mkDerivation {
|
||||
version = "0.0"; # Haskell Platform 2009.0.0
|
||||
src = fetchurl {
|
||||
url = http://mawercer.de/~nix/hasktags.hs;
|
||||
sha256 = "9bd8ed2cfe814b40215574e3e6ac5c1741f47ad610675c85354f19ce611d2c4a";
|
||||
sha256 = "119c4d8f1c33f5aa04b01022a089e3ea2e2b213641b25920c7732ca27fd47c83";
|
||||
};
|
||||
phases="buildPhase";
|
||||
buildPhase = ''
|
||||
|
@ -237,6 +237,10 @@ rec {
|
||||
inherit cabal binary network;
|
||||
};
|
||||
|
||||
hsloggerTemplate = import ../development/libraries/haskell/hslogger-template {
|
||||
inherit cabal hslogger mtl;
|
||||
};
|
||||
|
||||
html = import ../development/libraries/haskell/html {
|
||||
inherit cabal;
|
||||
};
|
||||
@ -312,6 +316,10 @@ rec {
|
||||
inherit cabal;
|
||||
};
|
||||
|
||||
parsec3 = import ../development/libraries/haskell/parsec/3.nix {
|
||||
inherit cabal mtl;
|
||||
};
|
||||
|
||||
pcreLight = import ../development/libraries/haskell/pcre-light {
|
||||
inherit cabal;
|
||||
inherit (pkgs) pcre;
|
||||
@ -415,7 +423,7 @@ rec {
|
||||
};
|
||||
|
||||
terminfo = import ../development/libraries/haskell/terminfo {
|
||||
inherit cabal;
|
||||
inherit cabal extensibleExceptions /* only required for <= ghc6102 ?*/;
|
||||
inherit (pkgs) ncurses;
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user