nixpkgs/pkgs/development/libraries/haskell/snap/snap.nix

34 lines
1.2 KiB
Nix
Raw Normal View History

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
, pwstoreFast, regexPosix, snapCore, snapServer, stm, syb, text
, time, transformers, unorderedContainers, vector, vectorAlgorithms
, xmlhtml
}:
cabal.mkDerivation (self: {
pname = "snap";
2013-02-21 16:13:06 +01:00
version = "0.11.2";
sha256 = "1z9n15dhbxg0j17c1ik0vhdhxy2mz70915xd4jffg9jrdvlky51a";
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
snapCore snapServer stm syb text time transformers
2012-12-10 12:43:41 +01:00
unorderedContainers vector vectorAlgorithms xmlhtml
];
2013-02-21 16:13:06 +01:00
jailbreak = true;
patchPhase = ''
sed -i -e 's|lens .*>= 3.7.6.*$|lens|' snap.cabal
'';
meta = {
homepage = "http://snapframework.com/";
2012-09-20 14:34:53 +02:00
description = "Top-level package for the Snap Web Framework";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
maintainers = [ self.stdenv.lib.maintainers.simons ];
};
})