2012-04-05 18:51:59 +02:00
|
|
|
{ cabal, blazeBuilder, blazeBuilderConduit, caseInsensitive
|
2013-12-09 13:03:24 +01:00
|
|
|
, conduit, doctest, hashable, hspec, HTTP, httpAttoparsec, httpDate
|
|
|
|
, httpTypes, HUnit, liftedBase, network, networkConduit, QuickCheck
|
|
|
|
, simpleSendfile, time, transformers, unixCompat, void, wai
|
2011-08-10 01:00:20 +02:00
|
|
|
}:
|
2011-07-07 23:40:33 +02:00
|
|
|
|
2011-08-10 01:00:20 +02:00
|
|
|
cabal.mkDerivation (self: {
|
2011-07-07 23:40:33 +02:00
|
|
|
pname = "warp";
|
2014-01-14 12:28:35 +01:00
|
|
|
version = "2.0.2";
|
|
|
|
sha256 = "1v28kfs311kr7n4hraqh5dzhw2gy0da2rp30732adivy9aj9grl9";
|
2011-08-10 01:00:20 +02:00
|
|
|
buildDepends = [
|
2012-09-25 13:12:48 +02:00
|
|
|
blazeBuilder blazeBuilderConduit caseInsensitive conduit hashable
|
2013-12-09 13:03:24 +01:00
|
|
|
httpAttoparsec httpDate httpTypes liftedBase network networkConduit
|
2013-07-01 11:04:05 +02:00
|
|
|
simpleSendfile transformers unixCompat void wai
|
2011-07-07 23:40:33 +02:00
|
|
|
];
|
2013-02-24 22:09:07 +01:00
|
|
|
testDepends = [
|
2013-12-09 13:03:24 +01:00
|
|
|
blazeBuilder blazeBuilderConduit caseInsensitive conduit doctest
|
|
|
|
hashable hspec HTTP httpAttoparsec httpDate httpTypes HUnit
|
|
|
|
liftedBase network networkConduit QuickCheck simpleSendfile time
|
|
|
|
transformers unixCompat void wai
|
2013-02-24 22:09:07 +01:00
|
|
|
];
|
2013-12-09 19:37:17 +01:00
|
|
|
doCheck = false;
|
2011-07-07 23:40:33 +02:00
|
|
|
meta = {
|
2011-11-28 19:12:09 +01:00
|
|
|
homepage = "http://github.com/yesodweb/wai";
|
2011-08-11 15:03:51 +02:00
|
|
|
description = "A fast, light-weight web server for WAI applications";
|
2012-04-09 14:37:39 +02:00
|
|
|
license = self.stdenv.lib.licenses.mit;
|
2011-08-09 11:54:50 +02:00
|
|
|
platforms = self.ghc.meta.platforms;
|
2013-05-11 00:36:36 +02:00
|
|
|
maintainers = [ self.stdenv.lib.maintainers.andres ];
|
2011-07-07 23:40:33 +02:00
|
|
|
};
|
|
|
|
})
|