diff --git a/pkgs/development/libraries/haskell/terminfo/default.nix b/pkgs/development/libraries/haskell/terminfo/default.nix new file mode 100644 index 000000000000..8c12d8d94a97 --- /dev/null +++ b/pkgs/development/libraries/haskell/terminfo/default.nix @@ -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"; + }; +}) diff --git a/pkgs/development/libraries/haskell/uu-parsinglib/default.nix b/pkgs/development/libraries/haskell/uu-parsinglib/default.nix index d7507be3d456..aaa93d1c1def 100644 --- a/pkgs/development/libraries/haskell/uu-parsinglib/default.nix +++ b/pkgs/development/libraries/haskell/uu-parsinglib/default.nix @@ -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"; }; diff --git a/pkgs/development/libraries/haskell/vty/default.nix b/pkgs/development/libraries/haskell/vty/default.nix index 930e19ae89c5..a38ee70ce34b 100644 --- a/pkgs/development/libraries/haskell/vty/default.nix +++ b/pkgs/development/libraries/haskell/vty/default.nix @@ -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 - ''; }) diff --git a/pkgs/top-level/haskell-packages.nix b/pkgs/top-level/haskell-packages.nix index 48418f52ddb9..978fbace5dc3 100644 --- a/pkgs/top-level/haskell-packages.nix +++ b/pkgs/top-level/haskell-packages.nix @@ -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 {