2011-08-14 23:52:05 +01:00
|
|
|
{ cabal, attoparsec, attoparsecEnumerator, binary, blazeBuilder
|
2012-02-16 14:05:41 +00:00
|
|
|
, blazeBuilderEnumerator, bytestringNums, caseInsensitive
|
2012-02-14 17:00:37 +00:00
|
|
|
, directoryTree, enumerator, filepath, MonadCatchIOTransformers
|
|
|
|
, mtl, murmurHash, network, PSQueue, snapCore, text, time
|
|
|
|
, transformers, unixCompat, vector, vectorAlgorithms
|
2011-08-10 00:00:20 +01:00
|
|
|
}:
|
2011-04-01 00:21:36 +01:00
|
|
|
|
2011-08-10 00:00:20 +01:00
|
|
|
cabal.mkDerivation (self: {
|
2011-04-01 00:21:36 +01:00
|
|
|
pname = "snap-server";
|
2012-03-19 11:15:39 +00:00
|
|
|
version = "0.8.0.1";
|
|
|
|
sha256 = "1648p0m4n4ha4976gw891z112rzxd9q4s7n4x3v0z3qb10aynxjb";
|
2011-08-10 00:00:20 +01:00
|
|
|
buildDepends = [
|
2011-08-14 23:52:05 +01:00
|
|
|
attoparsec attoparsecEnumerator binary blazeBuilder
|
2012-02-16 14:05:41 +00:00
|
|
|
blazeBuilderEnumerator bytestringNums caseInsensitive directoryTree
|
|
|
|
enumerator filepath MonadCatchIOTransformers mtl murmurHash network
|
|
|
|
PSQueue snapCore text time transformers unixCompat vector
|
|
|
|
vectorAlgorithms
|
2011-08-07 20:33:30 +01:00
|
|
|
];
|
2012-04-19 12:16:36 +01:00
|
|
|
patchPhase = ''
|
|
|
|
sed -i -e 's|MonadCatchIO-transformers >= 0.2.1 && < 0.3|MonadCatchIO-transformers|' snap-server.cabal
|
|
|
|
'';
|
2011-04-01 00:21:36 +01:00
|
|
|
meta = {
|
2011-08-07 20:33:30 +01:00
|
|
|
homepage = "http://snapframework.com/";
|
|
|
|
description = "A fast, iteratee-based, epoll-enabled web server for the Snap Framework";
|
|
|
|
license = self.stdenv.lib.licenses.bsd3;
|
2011-08-09 10:54:50 +01:00
|
|
|
platforms = self.ghc.meta.platforms;
|
2012-03-24 10:21:28 +00:00
|
|
|
maintainers = [ self.stdenv.lib.maintainers.andres ];
|
2011-04-01 00:21:36 +01:00
|
|
|
};
|
|
|
|
})
|