Add haskell library terminal-size.

This commit is contained in:
Anders Claesson 2014-03-15 16:05:02 +00:00
parent 6246fad9c7
commit 2985f31b1c
2 changed files with 14 additions and 0 deletions

View File

@ -0,0 +1,12 @@
{ cabal }:
cabal.mkDerivation (self: {
pname = "terminal-size";
version = "0.2.1.0";
sha256 = "0d41af1is3vdb1kgd8dk82fags86bgs67vkbzpdhjdwa3aimsxgn";
meta = {
description = "Get terminal window height and width";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
};
})

View File

@ -2377,6 +2377,8 @@ let result = let callPackage = x : y : modifyPrio (newScope result.finalReturn x
terminalProgressBar = callPackage ../development/libraries/haskell/terminal-progress-bar {};
terminalSize = callPackage ../development/libraries/haskell/terminal-size {};
terminfo_0_3_2_6 = callPackage ../development/libraries/haskell/terminfo/0.3.2.6.nix { inherit (pkgs) ncurses; };
terminfo_0_4_0_0 = callPackage ../development/libraries/haskell/terminfo/0.4.0.0.nix { inherit (pkgs) ncurses; };
terminfo = self.terminfo_0_4_0_0;