2014-07-14 13:21:41 +02:00
|
|
|
# This file was auto-generated by cabal2nix. Please do NOT edit manually!
|
|
|
|
|
2012-10-11 10:18:50 +02:00
|
|
|
{ cabal, attoparsec, attoparsecEnumerator, blazeBuilder
|
2014-06-30 17:00:01 +02:00
|
|
|
, blazeBuilderEnumerator, caseInsensitive, enumerator, HsOpenSSL
|
2012-10-11 10:18:50 +02:00
|
|
|
, MonadCatchIOTransformers, mtl, network, snapCore, text, time
|
|
|
|
, unixCompat
|
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";
|
2014-06-05 11:04:02 +02:00
|
|
|
version = "0.9.4.5";
|
|
|
|
sha256 = "09399vlqgic0iwmx31c01bjpbdblw8gayxnz71lwzkixqibkbbip";
|
2011-08-10 01:00:20 +02:00
|
|
|
buildDepends = [
|
2012-10-11 10:18:50 +02:00
|
|
|
attoparsec attoparsecEnumerator blazeBuilder blazeBuilderEnumerator
|
2014-06-30 17:00:01 +02:00
|
|
|
caseInsensitive enumerator HsOpenSSL MonadCatchIOTransformers mtl
|
|
|
|
network snapCore text time unixCompat
|
2011-08-07 21:33:30 +02:00
|
|
|
];
|
2014-06-30 17:00:01 +02:00
|
|
|
configureFlags = "-fopenssl";
|
2014-07-14 14:08:55 +02:00
|
|
|
patchPhase = ''
|
2014-10-31 13:45:00 +01:00
|
|
|
sed -i -e 's|text *>= .*,|text,|' -e 's|HsOpenSSL >= .*|HsOpenSSL|' -e 's|network.*2.6,|network,|' snap-server.cabal
|
2014-07-14 14:08:55 +02:00
|
|
|
'';
|
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;
|
2013-05-11 00:36:36 +02:00
|
|
|
maintainers = [ self.stdenv.lib.maintainers.andres ];
|
2011-04-01 01:21:36 +02:00
|
|
|
};
|
|
|
|
})
|