2013-04-04 09:04:20 +00:00
|
|
|
{ cabal, aeson, blazeBuilder, caseInsensitive, conduit, dataDefault
|
2013-12-14 10:30:18 +00:00
|
|
|
, httpTypes, mtl, regexCompat, text, transformers, wai, waiExtra
|
|
|
|
, warp
|
2013-04-04 07:22:43 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
cabal.mkDerivation (self: {
|
|
|
|
pname = "scotty";
|
2013-12-14 10:30:18 +00:00
|
|
|
version = "0.6.1";
|
|
|
|
sha256 = "1fcrd1fxlmgkm9d6xfyb76pmn68pgk0a367lpmyh77kp0zr3f7ib";
|
2013-04-04 07:22:43 +00:00
|
|
|
buildDepends = [
|
2013-04-04 09:04:20 +00:00
|
|
|
aeson blazeBuilder caseInsensitive conduit dataDefault httpTypes
|
2013-12-14 10:30:18 +00:00
|
|
|
mtl regexCompat text transformers wai waiExtra warp
|
2013-04-04 07:22:43 +00:00
|
|
|
];
|
|
|
|
meta = {
|
2013-12-09 12:03:22 +00:00
|
|
|
homepage = "https://github.com/scotty-web/scotty";
|
2013-04-04 09:04:20 +00:00
|
|
|
description = "Haskell web framework inspired by Ruby's Sinatra, using WAI and Warp";
|
|
|
|
license = self.stdenv.lib.licenses.bsd3;
|
2013-04-04 07:22:43 +00:00
|
|
|
platforms = self.ghc.meta.platforms;
|
|
|
|
};
|
|
|
|
})
|