forked from mirrors/nixpkgs
31 lines
1.2 KiB
Nix
31 lines
1.2 KiB
Nix
{ cabal, blazeBuilder, blazeBuilderConduit, caseInsensitive
|
|
, conduit, doctest, hashable, hspec, HTTP, httpAttoparsec, httpDate
|
|
, httpTypes, HUnit, liftedBase, network, networkConduit, QuickCheck
|
|
, simpleSendfile, time, transformers, unixCompat, void, wai
|
|
}:
|
|
|
|
cabal.mkDerivation (self: {
|
|
pname = "warp";
|
|
version = "2.0.2";
|
|
sha256 = "1v28kfs311kr7n4hraqh5dzhw2gy0da2rp30732adivy9aj9grl9";
|
|
buildDepends = [
|
|
blazeBuilder blazeBuilderConduit caseInsensitive conduit hashable
|
|
httpAttoparsec httpDate httpTypes liftedBase network networkConduit
|
|
simpleSendfile transformers unixCompat void wai
|
|
];
|
|
testDepends = [
|
|
blazeBuilder blazeBuilderConduit caseInsensitive conduit doctest
|
|
hashable hspec HTTP httpAttoparsec httpDate httpTypes HUnit
|
|
liftedBase network networkConduit QuickCheck simpleSendfile time
|
|
transformers unixCompat void wai
|
|
];
|
|
doCheck = false;
|
|
meta = {
|
|
homepage = "http://github.com/yesodweb/wai";
|
|
description = "A fast, light-weight web server for WAI applications";
|
|
license = self.stdenv.lib.licenses.mit;
|
|
platforms = self.ghc.meta.platforms;
|
|
maintainers = [ self.stdenv.lib.maintainers.andres ];
|
|
};
|
|
})
|