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