mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-29 00:54:11 +00:00
22 lines
726 B
Nix
22 lines
726 B
Nix
{ cabal, aeson, blazeBuilder, caseInsensitive, conduit
|
|
, conduitExtra, dataDefault, httpTypes, mtl, regexCompat, text
|
|
, transformers, wai, waiExtra, warp
|
|
}:
|
|
|
|
cabal.mkDerivation (self: {
|
|
pname = "scotty";
|
|
version = "0.7.2";
|
|
sha256 = "1y14af3qciwycgaxzx6rjan2jgfchjzs4zbxzh8p8s1d0l4gsqlb";
|
|
buildDepends = [
|
|
aeson blazeBuilder caseInsensitive conduit conduitExtra dataDefault
|
|
httpTypes mtl regexCompat text transformers wai waiExtra warp
|
|
];
|
|
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;
|
|
};
|
|
})
|