2013-04-04 10:04:20 +01: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 08:22:43 +01:00
|
|
|
}:
|
|
|
|
|
|
|
|
cabal.mkDerivation (self: {
|
|
|
|
pname = "scotty";
|
2013-12-23 17:32:39 +00:00
|
|
|
version = "0.6.2";
|
|
|
|
sha256 = "0szki6wcmhj20kxhmgidgf930xwhiq03qrk8m0x8aklcjzkhvy69";
|
2013-04-04 08:22:43 +01:00
|
|
|
buildDepends = [
|
2013-04-04 10:04:20 +01: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 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;
|
|
|
|
};
|
|
|
|
})
|