2011-08-15 00:52:05 +02:00
|
|
|
{ cabal, attoparsec, attoparsecEnumerator, binary, blazeBuilder
|
2012-02-16 15:05:41 +01:00
|
|
|
, blazeBuilderEnumerator, bytestringNums, caseInsensitive
|
2012-02-14 18:00:37 +01:00
|
|
|
, directoryTree, enumerator, filepath, MonadCatchIOTransformers
|
|
|
|
, mtl, murmurHash, network, PSQueue, snapCore, text, time
|
|
|
|
, transformers, unixCompat, vector, vectorAlgorithms
|
2011-08-10 01:00:20 +02:00
|
|
|
}:
|
2011-04-01 01:21:36 +02:00
|
|
|
|
2011-08-10 01:00:20 +02:00
|
|
|
cabal.mkDerivation (self: {
|
2011-04-01 01:21:36 +02:00
|
|
|
pname = "snap-server";
|
2012-03-19 12:15:39 +01:00
|
|
|
version = "0.8.0.1";
|
|
|
|
sha256 = "1648p0m4n4ha4976gw891z112rzxd9q4s7n4x3v0z3qb10aynxjb";
|
2011-08-10 01:00:20 +02:00
|
|
|
buildDepends = [
|
2011-08-15 00:52:05 +02:00
|
|
|
attoparsec attoparsecEnumerator binary blazeBuilder
|
2012-02-16 15:05:41 +01:00
|
|
|
blazeBuilderEnumerator bytestringNums caseInsensitive directoryTree
|
|
|
|
enumerator filepath MonadCatchIOTransformers mtl murmurHash network
|
|
|
|
PSQueue snapCore text time transformers unixCompat vector
|
|
|
|
vectorAlgorithms
|
2011-08-07 21:33:30 +02:00
|
|
|
];
|
2012-04-19 13:16:36 +02:00
|
|
|
patchPhase = ''
|
|
|
|
sed -i -e 's|MonadCatchIO-transformers >= 0.2.1 && < 0.3|MonadCatchIO-transformers|' snap-server.cabal
|
|
|
|
'';
|
2011-04-01 01:21:36 +02:00
|
|
|
meta = {
|
2011-08-07 21:33:30 +02: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 11:54:50 +02:00
|
|
|
platforms = self.ghc.meta.platforms;
|
2012-03-24 11:21:28 +01:00
|
|
|
maintainers = [ self.stdenv.lib.maintainers.andres ];
|
2011-04-01 01:21:36 +02:00
|
|
|
};
|
|
|
|
})
|