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