forked from mirrors/nixpkgs
38 lines
1.6 KiB
Nix
38 lines
1.6 KiB
Nix
{ cabal, aeson, attoparsec, base64Bytestring, blazeBuilder
|
|
, blazeHtml, blazeMarkup, Cabal, conduit, fileEmbed, filepath
|
|
, fsnotify, ghcPaths, hamlet, httpConduit, httpReverseProxy
|
|
, httpTypes, liftedBase, monadControl, network, networkConduit
|
|
, optparseApplicative, parsec, projectTemplate, resourcet
|
|
, shakespeare, shakespeareCss, shakespeareJs, shakespeareText
|
|
, split, systemFileio, systemFilepath, tar, text, time
|
|
, transformers, unixCompat, unorderedContainers, wai, waiExtra
|
|
, warp, yaml, yesodAuth, yesodCore, yesodDefault, yesodForm
|
|
, yesodJson, yesodPersistent, zlib
|
|
}:
|
|
|
|
cabal.mkDerivation (self: {
|
|
pname = "yesod";
|
|
version = "1.1.9";
|
|
sha256 = "0fcvf0bg7dsrka639q20dncinqq0fdv21zyvwpx63qfcmilhmjlm";
|
|
isLibrary = true;
|
|
isExecutable = true;
|
|
buildDepends = [
|
|
aeson attoparsec base64Bytestring blazeBuilder blazeHtml
|
|
blazeMarkup Cabal conduit fileEmbed filepath fsnotify ghcPaths
|
|
hamlet httpConduit httpReverseProxy httpTypes liftedBase
|
|
monadControl network networkConduit optparseApplicative parsec
|
|
projectTemplate resourcet shakespeare shakespeareCss shakespeareJs
|
|
shakespeareText split systemFileio systemFilepath tar text time
|
|
transformers unixCompat unorderedContainers wai waiExtra warp yaml
|
|
yesodAuth yesodCore yesodDefault yesodForm yesodJson
|
|
yesodPersistent zlib
|
|
];
|
|
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 ];
|
|
};
|
|
})
|