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