2012-12-10 12:43:41 +01:00
|
|
|
{ cabal, aeson, attoparsec, cereal, clientsession, comonad
|
2013-02-14 12:42:08 +01:00
|
|
|
, configurator, directoryTree, dlist, errors, filepath, hashable
|
|
|
|
, heist, lens, logict, MonadCatchIOTransformers, mtl, mwcRandom
|
2013-05-02 12:35:22 +02:00
|
|
|
, pwstoreFast, regexPosix, snapCore, snapServer, stm, syb, text
|
|
|
|
, time, transformers, unorderedContainers, vector, vectorAlgorithms
|
|
|
|
, xmlhtml
|
2012-07-20 04:37:21 +02:00
|
|
|
}:
|
|
|
|
|
|
|
|
cabal.mkDerivation (self: {
|
|
|
|
pname = "snap";
|
2014-07-07 11:26:06 +02:00
|
|
|
version = "0.13.2.8";
|
|
|
|
sha256 = "1jrnh1raw2jrl04l54f5w5xfp9yyb9bj0ly9v1baqkiggswacbzg";
|
2012-07-20 04:37:21 +02:00
|
|
|
isLibrary = true;
|
|
|
|
isExecutable = true;
|
|
|
|
buildDepends = [
|
2012-12-10 12:43:41 +01:00
|
|
|
aeson attoparsec cereal clientsession comonad configurator
|
2013-02-14 12:42:08 +01:00
|
|
|
directoryTree dlist errors filepath hashable heist lens logict
|
|
|
|
MonadCatchIOTransformers mtl mwcRandom pwstoreFast regexPosix
|
2013-05-02 12:35:22 +02:00
|
|
|
snapCore snapServer stm syb text time transformers
|
2012-12-10 12:43:41 +01:00
|
|
|
unorderedContainers vector vectorAlgorithms xmlhtml
|
2012-07-20 04:37:21 +02:00
|
|
|
];
|
2013-07-14 21:11:29 +02:00
|
|
|
jailbreak = true;
|
2014-06-09 09:49:07 +02:00
|
|
|
patchPhase = ''
|
|
|
|
sed -i -e 's|lens .*< 4.2|lens|' snap.cabal
|
|
|
|
'';
|
2012-07-20 04:37:21 +02:00
|
|
|
meta = {
|
|
|
|
homepage = "http://snapframework.com/";
|
2012-09-20 14:34:53 +02:00
|
|
|
description = "Top-level package for the Snap Web Framework";
|
2012-07-20 04:37:21 +02:00
|
|
|
license = self.stdenv.lib.licenses.bsd3;
|
|
|
|
platforms = self.ghc.meta.platforms;
|
|
|
|
};
|
|
|
|
})
|