nixpkgs/pkgs/development/libraries/haskell/scotty/default.nix
2014-04-07 16:35:12 -04:00

22 lines
763 B
Nix

{ cabal, aeson, blazeBuilder, caseInsensitive, conduit, dataDefault
, httpTypes, mtl, regexCompat, text, transformers, wai, waiExtra
, warp, conduitExtra
}:
cabal.mkDerivation (self: {
pname = "scotty";
version = "0.7.1";
sha256 = "07aj74jq0hh86ik4x5p5q65b47q44rrnd6mkp039wj9l6dmyrv3c";
patches = [ ./new-conduit.patch ];
buildDepends = [
aeson blazeBuilder caseInsensitive conduit dataDefault httpTypes
mtl regexCompat text transformers wai waiExtra warp conduitExtra
];
jailbreak = true;
meta = {
homepage = "https://github.com/scotty-web/scotty";
description = "Haskell web framework inspired by Ruby's Sinatra, using WAI and Warp";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
};
})