Merge pull request #2722 from Fuuzetsu/wcwidth

wcwidth
This commit is contained in:
Peter Simons 2014-05-23 17:52:13 +02:00
commit 6dbc7547ea
3 changed files with 32 additions and 0 deletions

View File

@ -0,0 +1,12 @@
{ cabal }:
cabal.mkDerivation (self: {
pname = "setlocale";
version = "0.0.3";
sha256 = "08pd20ibmslr94p52rn6x9w3swn9jy7vjlvxzw29h8dlqgmvcrjl";
meta = {
description = "A Haskell interface to setlocale()";
license = self.stdenv.lib.licenses.publicDomain;
platforms = self.ghc.meta.platforms;
};
})

View File

@ -0,0 +1,16 @@
{ cabal, attoparsec, setlocale, utf8String }:
cabal.mkDerivation (self: {
pname = "wcwidth";
version = "0.0.2";
sha256 = "1n1fq7v64b59ajf5g50iqj9sa34wm7s2j3viay0kxpmvlcv8gipz";
isLibrary = true;
isExecutable = true;
buildDepends = [ attoparsec setlocale utf8String ];
meta = {
homepage = "http://github.com/solidsnack/wcwidth/";
description = "Native wcwidth";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
};
})

View File

@ -1879,6 +1879,8 @@ self : let callPackage = x : y : modifyPrio (newScope self x y); in
setenv = callPackage ../development/libraries/haskell/setenv {};
setlocale = callPackage ../development/libraries/haskell/setlocale {};
shelly = callPackage ../development/libraries/haskell/shelly {};
simpleReflect = callPackage ../development/libraries/haskell/simple-reflect {};
@ -2354,6 +2356,8 @@ self : let callPackage = x : y : modifyPrio (newScope self x y); in
warpTls = callPackage ../development/libraries/haskell/warp-tls {};
wcwidth = callPackage ../development/libraries/haskell/wcwidth {};
webRoutes = callPackage ../development/libraries/haskell/web-routes {};
webRoutesBoomerang = callPackage ../development/libraries/haskell/web-routes-boomerang {};