34 lines
1.2 KiB
Nix
34 lines
1.2 KiB
Nix
# This file was auto-generated by cabal2nix. Please do NOT edit manually!
|
|
|
|
{ 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.3.1";
|
|
sha256 = "016azx90gxjkhmncpnqvqrwsk9kbkz315z088wm7y67s97lpnr9c";
|
|
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
|
|
];
|
|
patchPhase = ''
|
|
sed -i -e 's|lens *>=.*|lens|' 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;
|
|
};
|
|
})
|