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

33 lines
1.1 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
2013-05-02 12:35:22 +02:00
, pwstoreFast, regexPosix, snapCore, snapServer, stm, syb, text
, time, transformers, unorderedContainers, vector, vectorAlgorithms
, xmlhtml
}:
cabal.mkDerivation (self: {
pname = "snap";
version = "0.13.2.8";
sha256 = "1jrnh1raw2jrl04l54f5w5xfp9yyb9bj0ly9v1baqkiggswacbzg";
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
];
jailbreak = true;
patchPhase = ''
sed -i -e 's|lens .*< 4.2|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;
};
})