24 lines
875 B
Nix
24 lines
875 B
Nix
{ cabal, blazeBuilder, blazeBuilderConduit, caseInsensitive
|
|
, conduit, hashable, httpTypes, liftedBase, network, networkConduit
|
|
, simpleSendfile, transformers, unixCompat, void, wai
|
|
}:
|
|
|
|
cabal.mkDerivation (self: {
|
|
pname = "warp";
|
|
version = "1.3.3.1";
|
|
sha256 = "0nz5n574lgaii6i9ncc6dkzw2aw6g7hwjjq7v8njly2vpwygxn7s";
|
|
buildDepends = [
|
|
blazeBuilder blazeBuilderConduit caseInsensitive conduit hashable
|
|
httpTypes liftedBase network networkConduit simpleSendfile
|
|
transformers unixCompat void wai
|
|
];
|
|
patchPhase = "sed -i -e 's|, lifted-base.*|, lifted-base|' warp.cabal";
|
|
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 ];
|
|
};
|
|
})
|