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