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