2014-04-09 12:13:54 +02:00
|
|
|
{ cabal, async, blazeBuilder, blazeBuilderConduit, caseInsensitive
|
2014-03-30 22:07:17 +02: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 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-04-28 19:18:15 +02:00
|
|
|
version = "2.1.5";
|
|
|
|
sha256 = "1lny4lzc58g9zydn46dvrq4rpqyr2rfsjr4vwxhdmn8rql7jasyc";
|
2011-08-10 01:00:20 +02:00
|
|
|
buildDepends = [
|
2014-03-30 22:07:17 +02:00
|
|
|
blazeBuilder blazeBuilderConduit caseInsensitive conduit
|
|
|
|
conduitExtra hashable httpDate httpTypes liftedBase network
|
|
|
|
networkConduit simpleSendfile streamingCommons text transformers
|
|
|
|
unixCompat void wai
|
2011-07-07 23:40:33 +02:00
|
|
|
];
|
2013-02-24 22:09:07 +01:00
|
|
|
testDepends = [
|
2014-04-09 12:13:54 +02:00
|
|
|
async blazeBuilder blazeBuilderConduit caseInsensitive conduit
|
2014-03-30 22:07:17 +02:00
|
|
|
conduitExtra doctest hashable hspec HTTP httpDate httpTypes HUnit
|
|
|
|
liftedBase network networkConduit QuickCheck simpleSendfile
|
|
|
|
streamingCommons text 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
|
|
|
};
|
|
|
|
})
|