2014-04-09 12:12:41 +02:00
|
|
|
{ cabal, aeson, blazeBuilder, caseInsensitive, conduit
|
|
|
|
, conduitExtra, dataDefault, httpTypes, mtl, regexCompat, text
|
|
|
|
, transformers, wai, waiExtra, warp
|
2013-04-04 09:22:43 +02:00
|
|
|
}:
|
|
|
|
|
|
|
|
cabal.mkDerivation (self: {
|
|
|
|
pname = "scotty";
|
2014-04-09 12:12:41 +02:00
|
|
|
version = "0.7.2";
|
|
|
|
sha256 = "1y14af3qciwycgaxzx6rjan2jgfchjzs4zbxzh8p8s1d0l4gsqlb";
|
2013-04-04 09:22:43 +02:00
|
|
|
buildDepends = [
|
2014-04-09 12:12:41 +02:00
|
|
|
aeson blazeBuilder caseInsensitive conduit conduitExtra dataDefault
|
|
|
|
httpTypes 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;
|
|
|
|
};
|
|
|
|
})
|