2012-07-20 04:37:21 +02:00
|
|
|
{ cabal, aeson, attoparsec, cereal, clientsession, configurator
|
|
|
|
, dataLens, dataLensTemplate, directoryTree, filepath, hashable
|
|
|
|
, heist, logict, MonadCatchIOTransformers, mtl, mwcRandom
|
|
|
|
, pwstoreFast, snapCore, snapServer, stm, syb, text, time
|
|
|
|
, transformers, unorderedContainers, utf8String, vector
|
|
|
|
, vectorAlgorithms, xmlhtml
|
|
|
|
}:
|
|
|
|
|
|
|
|
cabal.mkDerivation (self: {
|
|
|
|
pname = "snap";
|
2012-07-25 15:48:11 +02:00
|
|
|
version = "0.9.1.1";
|
|
|
|
sha256 = "1g8jvnwrhna5g064dmv4v4khrpwwn0vcqw8l7rcpkp75l46fq29z";
|
2012-07-20 04:37:21 +02:00
|
|
|
isLibrary = true;
|
|
|
|
isExecutable = true;
|
|
|
|
buildDepends = [
|
|
|
|
aeson attoparsec cereal clientsession configurator dataLens
|
|
|
|
dataLensTemplate directoryTree filepath hashable heist logict
|
|
|
|
MonadCatchIOTransformers mtl mwcRandom pwstoreFast snapCore
|
|
|
|
snapServer stm syb text time transformers unorderedContainers
|
|
|
|
utf8String vector vectorAlgorithms xmlhtml
|
|
|
|
];
|
Use jailbreak to get rid of overspecified version restrictions to fix
builds of Agda, accelerate-cuda, clientsession, filestore, ghc-events,
gitit, happstack, happstack, happstack, hledger-lib, hledger, mime-mail,
pandoc, snap, wai-app-static, yesod-static, and urlencoded.
2012-09-06 15:21:17 +02:00
|
|
|
jailbreak = true;
|
2012-07-20 04:37:21 +02:00
|
|
|
meta = {
|
|
|
|
homepage = "http://snapframework.com/";
|
|
|
|
description = "Snap: A Haskell Web Framework: project starter executable and glue code library";
|
|
|
|
license = self.stdenv.lib.licenses.bsd3;
|
|
|
|
platforms = self.ghc.meta.platforms;
|
|
|
|
};
|
|
|
|
})
|