40 lines
1.7 KiB
Nix
40 lines
1.7 KiB
Nix
{ cabal, aeson, async, attoparsecConduit, blazeBuilder, blazeHtml
|
|
, blazeMarkup, caseInsensitive, cereal, clientsession, conduit
|
|
, conduitExtra, cookie, dataDefault, deepseq, exceptions
|
|
, fastLogger, hamlet, hspec, httpTypes, HUnit, liftedBase
|
|
, monadControl, monadLogger, mtl, network, networkConduit, parsec
|
|
, pathPieces, QuickCheck, random, resourcet, safe, shakespeare
|
|
, shakespeareCss, shakespeareI18n, shakespeareJs, streamingCommons
|
|
, text, time, transformers, transformersBase, unixCompat, vector
|
|
, wai, waiExtra, waiLogger, waiTest, warp, yesodRoutes
|
|
}:
|
|
|
|
cabal.mkDerivation (self: {
|
|
pname = "yesod-core";
|
|
version = "1.2.15.1";
|
|
sha256 = "0xvfkplxsvacwkmplhzdyqk028yqkj1bql5x6qsizvj60fwsnnyk";
|
|
buildDepends = [
|
|
aeson attoparsecConduit blazeBuilder blazeHtml blazeMarkup
|
|
caseInsensitive cereal clientsession conduit conduitExtra cookie
|
|
dataDefault deepseq exceptions fastLogger hamlet httpTypes
|
|
liftedBase monadControl monadLogger mtl parsec pathPieces random
|
|
resourcet safe shakespeare shakespeareCss shakespeareI18n
|
|
shakespeareJs text time transformers transformersBase unixCompat
|
|
vector wai waiExtra waiLogger warp yesodRoutes
|
|
];
|
|
testDepends = [
|
|
async blazeBuilder conduit conduitExtra hamlet hspec httpTypes
|
|
HUnit liftedBase network networkConduit QuickCheck random resourcet
|
|
shakespeare shakespeareCss shakespeareJs streamingCommons text
|
|
transformers wai waiTest
|
|
];
|
|
jailbreak = true;
|
|
meta = {
|
|
homepage = "http://www.yesodweb.com/";
|
|
description = "Creation of type-safe, RESTful web applications";
|
|
license = self.stdenv.lib.licenses.mit;
|
|
platforms = self.ghc.meta.platforms;
|
|
maintainers = [ self.stdenv.lib.maintainers.andres ];
|
|
};
|
|
})
|