forked from mirrors/nixpkgs
30 lines
1 KiB
Nix
30 lines
1 KiB
Nix
# This file was auto-generated by cabal2nix. Please do NOT edit manually!
|
|
|
|
{ cabal, attoparsec, attoparsecEnumerator, blazeBuilder
|
|
, blazeBuilderEnumerator, caseInsensitive, enumerator, HsOpenSSL
|
|
, MonadCatchIOTransformers, mtl, network, snapCore, text, time
|
|
, unixCompat
|
|
}:
|
|
|
|
cabal.mkDerivation (self: {
|
|
pname = "snap-server";
|
|
version = "0.9.4.5";
|
|
sha256 = "09399vlqgic0iwmx31c01bjpbdblw8gayxnz71lwzkixqibkbbip";
|
|
buildDepends = [
|
|
attoparsec attoparsecEnumerator blazeBuilder blazeBuilderEnumerator
|
|
caseInsensitive enumerator HsOpenSSL MonadCatchIOTransformers mtl
|
|
network snapCore text time unixCompat
|
|
];
|
|
configureFlags = "-fopenssl";
|
|
patchPhase = ''
|
|
sed -i -e 's|HsOpenSSL >= .*|HsOpenSSL|' snap-server.cabal
|
|
'';
|
|
meta = {
|
|
homepage = "http://snapframework.com/";
|
|
description = "A fast, iteratee-based, epoll-enabled web server for the Snap Framework";
|
|
license = self.stdenv.lib.licenses.bsd3;
|
|
platforms = self.ghc.meta.platforms;
|
|
maintainers = [ self.stdenv.lib.maintainers.andres ];
|
|
};
|
|
})
|