33 lines
1.1 KiB
Nix
33 lines
1.1 KiB
Nix
{ cabal, aeson, attoparsec, cereal, clientsession, comonad
|
|
, configurator, directoryTree, dlist, errors, filepath, hashable
|
|
, heist, lens, logict, MonadCatchIOTransformers, mtl, mwcRandom
|
|
, pwstoreFast, regexPosix, snapCore, snapServer, stm, syb, text
|
|
, time, transformers, unorderedContainers, vector, vectorAlgorithms
|
|
, xmlhtml
|
|
}:
|
|
|
|
cabal.mkDerivation (self: {
|
|
pname = "snap";
|
|
version = "0.13.2.3";
|
|
sha256 = "14v48b47d4yhm05c1x66lil8h9vvjjwab6vgawlfpxsz2yn3sfaa";
|
|
isLibrary = true;
|
|
isExecutable = true;
|
|
buildDepends = [
|
|
aeson attoparsec cereal clientsession comonad configurator
|
|
directoryTree dlist errors filepath hashable heist lens logict
|
|
MonadCatchIOTransformers mtl mwcRandom pwstoreFast regexPosix
|
|
snapCore snapServer stm syb text time transformers
|
|
unorderedContainers vector vectorAlgorithms xmlhtml
|
|
];
|
|
jailbreak = true;
|
|
patchPhase = ''
|
|
sed -i -r -e 's|lens +>= 3.7.6.*&& < 4.1|lens >= 3.7.6|' snap.cabal
|
|
'';
|
|
meta = {
|
|
homepage = "http://snapframework.com/";
|
|
description = "Top-level package for the Snap Web Framework";
|
|
license = self.stdenv.lib.licenses.bsd3;
|
|
platforms = self.ghc.meta.platforms;
|
|
};
|
|
})
|