New versions of vty and uu-parsinglib.
svn path=/nixpkgs/trunk/; revision=15929
This commit is contained in:
parent
a0399dd8a2
commit
3466e0d6c9
4 changed files with 24 additions and 10 deletions
11
pkgs/development/libraries/haskell/terminfo/default.nix
Normal file
11
pkgs/development/libraries/haskell/terminfo/default.nix
Normal file
|
@ -0,0 +1,11 @@
|
|||
{cabal, ncurses}:
|
||||
|
||||
cabal.mkDerivation (self : {
|
||||
pname = "terminfo";
|
||||
version = "0.3.0.2";
|
||||
sha256 = "2303d934fcec0f6413f15887f7f42e8e2e5b27812534a929bf585bfa6f3a9229";
|
||||
propagatedBuildInputs = [ncurses];
|
||||
meta = {
|
||||
description = "Haskell bindings for the terminfo library";
|
||||
};
|
||||
})
|
|
@ -2,8 +2,8 @@
|
|||
|
||||
cabal.mkDerivation (self : {
|
||||
pname = "uu-parsinglib";
|
||||
version = "2.0.0";
|
||||
sha256 = "b92246d7019fcdf8a6448686eb619b176b1744217f64e31f14e906b4991198ca";
|
||||
version = "2.1.0";
|
||||
sha256 = "e00c0c0b4df515ffa60706cf79ab71a78a071fe77799bfa7b0240b01d5ff962d";
|
||||
meta = {
|
||||
description = "New version of the Utrecht University parser combinator library";
|
||||
};
|
||||
|
|
|
@ -1,13 +1,11 @@
|
|||
{cabal}:
|
||||
{cabal, utf8String, terminfo}:
|
||||
|
||||
cabal.mkDerivation (self : {
|
||||
pname = "vty";
|
||||
version = "3.0.0";
|
||||
sha256 = "44ae53d06b8b45c14cd3861e860a38730ed9995ed56b1b3d9aba6641771f1947";
|
||||
version = "3.1.8.4";
|
||||
sha256 = "9a006e77bb4f032613e059eea7bc4d92cbc7943449fb9c7269a061ddd9b3d82b";
|
||||
propagatedBuildInputs = [utf8String terminfo];
|
||||
meta = {
|
||||
description = "vty is a *very* simplistic library in the niche of ncurses";
|
||||
description = "A simple terminal access library";
|
||||
};
|
||||
preConfigure = ''
|
||||
sed -i 's|^Build-Depends:.*$|&, bytestring, containers|' ${self.pname}.cabal
|
||||
'';
|
||||
})
|
||||
|
|
|
@ -294,6 +294,11 @@ rec {
|
|||
inherit cabal parallel;
|
||||
};
|
||||
|
||||
terminfo = import ../development/libraries/haskell/terminfo {
|
||||
inherit cabal;
|
||||
inherit (pkgs) ncurses;
|
||||
};
|
||||
|
||||
time = import ../development/libraries/haskell/time {
|
||||
inherit cabal;
|
||||
};
|
||||
|
@ -327,7 +332,7 @@ rec {
|
|||
};
|
||||
|
||||
vty = import ../development/libraries/haskell/vty {
|
||||
inherit cabal;
|
||||
inherit cabal utf8String terminfo;
|
||||
};
|
||||
|
||||
wx = import ../development/libraries/haskell/wxHaskell/wx.nix {
|
||||
|
|
Loading…
Reference in a new issue