2012-04-05 18:51:59 +02:00
|
|
|
{ cabal, blazeBuilder, blazeBuilderConduit, caseInsensitive
|
2014-02-02 20:16:15 +01:00
|
|
|
, conduit, doctest, hashable, hspec, HTTP, httpDate, httpTypes
|
|
|
|
, HUnit, liftedBase, network, networkConduit, QuickCheck
|
2013-12-09 13:03:24 +01:00
|
|
|
, 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-02-05 10:43:15 +01:00
|
|
|
version = "2.0.3.1";
|
|
|
|
sha256 = "0rbl9p1kdgvya2ah2bpaqfv73hlvhsd46nk5f5wgx244pm714kc5";
|
2011-08-10 01:00:20 +02:00
|
|
|
buildDepends = [
|
2012-09-25 13:12:48 +02:00
|
|
|
blazeBuilder blazeBuilderConduit caseInsensitive conduit hashable
|
2014-02-02 20:16:15 +01:00
|
|
|
httpDate httpTypes liftedBase network networkConduit 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
|
2014-02-02 20:16:15 +01:00
|
|
|
hashable hspec HTTP 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
|
|
|
};
|
|
|
|
})
|