2013-04-04 11:04:20 +02:00
|
|
|
{ cabal, aeson, blazeBuilder, caseInsensitive, conduit, dataDefault
|
|
|
|
, httpTypes, mtl, regexCompat, resourcet, text, wai, waiExtra, warp
|
2013-04-04 09:22:43 +02:00
|
|
|
}:
|
|
|
|
|
|
|
|
cabal.mkDerivation (self: {
|
|
|
|
pname = "scotty";
|
|
|
|
version = "0.4.6";
|
|
|
|
sha256 = "0g83kgqr1p03z7dks6x00id2gz95kkw00wmwp5vyz4zvx1mmmvk8";
|
|
|
|
buildDepends = [
|
2013-04-04 11:04:20 +02:00
|
|
|
aeson blazeBuilder caseInsensitive conduit dataDefault httpTypes
|
|
|
|
mtl regexCompat resourcet text wai waiExtra warp
|
2013-04-04 09:22:43 +02:00
|
|
|
];
|
|
|
|
meta = {
|
2013-04-04 11:04:20 +02:00
|
|
|
homepage = "https://github.com/ku-fpg/scotty";
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
})
|