2012-02-16 14:05:41 +00:00
|
|
|
{ cabal, extensibleExceptions, filepath, mtl, terminfo, utf8String
|
2012-02-14 17:00:37 +00:00
|
|
|
}:
|
2009-04-21 21:05:30 +00:00
|
|
|
|
2011-08-09 23:00:20 +00:00
|
|
|
cabal.mkDerivation (self: {
|
2009-04-21 21:05:30 +00:00
|
|
|
pname = "haskeline";
|
2012-01-04 17:48:53 +00:00
|
|
|
version = "0.6.4.6";
|
|
|
|
sha256 = "136h71rb50sypkdbnk849mbcgfzx3y4hfxmx2c7kf90zpmsx5wmj";
|
2012-02-14 17:00:37 +00:00
|
|
|
buildDepends = [
|
2012-02-16 14:05:41 +00:00
|
|
|
extensibleExceptions filepath mtl terminfo utf8String
|
2012-02-14 17:00:37 +00:00
|
|
|
];
|
2012-04-25 10:12:44 +00:00
|
|
|
configureFlags = "-fterminfo";
|
|
|
|
patchPhase = ''
|
|
|
|
sed -i -e "s|mtl >= 1.1 && < 2.1|mtl|" haskeline.cabal
|
|
|
|
'';
|
2009-04-21 21:05:30 +00:00
|
|
|
meta = {
|
2011-08-07 22:03:12 +00:00
|
|
|
homepage = "http://trac.haskell.org/haskeline";
|
2011-08-11 13:03:51 +00:00
|
|
|
description = "A command-line interface for user input, written in Haskell";
|
2011-08-07 22:03:12 +00:00
|
|
|
license = self.stdenv.lib.licenses.bsd3;
|
2011-08-09 09:54:50 +00:00
|
|
|
platforms = self.ghc.meta.platforms;
|
2012-03-24 10:21:28 +00:00
|
|
|
maintainers = [ self.stdenv.lib.maintainers.andres ];
|
2009-04-21 21:05:30 +00:00
|
|
|
};
|
2011-03-28 15:04:00 +00:00
|
|
|
})
|