2014-06-10 19:33:33 +01:00
|
|
|
{ cabal, aeson, blazeBuilder, caseInsensitive, conduit, dataDefault
|
2014-06-20 14:06:05 +01:00
|
|
|
, hspec, httpTypes, liftedBase, monadControl, mtl, regexCompat
|
|
|
|
, text, transformers, transformersBase, wai, waiExtra, warp
|
2013-04-04 08:22:43 +01:00
|
|
|
}:
|
|
|
|
|
|
|
|
cabal.mkDerivation (self: {
|
|
|
|
pname = "scotty";
|
2014-06-20 14:06:05 +01:00
|
|
|
version = "0.8.1";
|
|
|
|
sha256 = "182iwsz5h7p08sqwfzb332gwj1wjx7fhhazm6gfdc0incab769m0";
|
2013-04-04 08:22:43 +01:00
|
|
|
buildDepends = [
|
2014-06-10 19:33:33 +01:00
|
|
|
aeson blazeBuilder caseInsensitive conduit dataDefault httpTypes
|
2014-06-20 14:06:05 +01:00
|
|
|
monadControl mtl regexCompat text transformers transformersBase wai
|
|
|
|
waiExtra warp
|
2013-04-04 08:22:43 +01:00
|
|
|
];
|
2014-06-20 14:06:05 +01:00
|
|
|
testDepends = [ hspec httpTypes liftedBase wai waiExtra ];
|
2014-02-28 09:28:02 +00:00
|
|
|
jailbreak = true;
|
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;
|
|
|
|
};
|
|
|
|
})
|