nixpkgs/pkgs/development/libraries/haskell/snap/server.nix
Peter Simons 8691ff4ea1 Updated Haskell packages.
- certificate: updated to version 1.2.1
 - crypto-api: updated to version 0.10.1
 - crypto-conduit: patched to build crypto-api 0.10.x
 - http-conduit: updated to version 1.4.1.2
 - http-enumerator: deleted obsolete package
 - MonadCatchIO-transformers: updated to version 0.3.0.0
 - pem: updated to version 0.1.1
 - RSA: updated to version 1.2.0.0
 - skein: updated to version 0.1.0.5
 - snap-core: patched to support MonadCatchIO-transformers version 0.3.0.0
 - snap-server: patched to support MonadCatchIO-transformers version 0.3.0.0
 - tagged: updated to version 0.4.2
 - tls-extra: updated to version 0.4.5
 - tls: updated to version 0.9.3
 - yesod-auth: updated to version 1.0.1
 - yesod: updated to version 1.0.1.1

svn path=/nixpkgs/trunk/; revision=33839
2012-04-19 11:16:36 +00:00

30 lines
1.2 KiB
Nix

{ cabal, attoparsec, attoparsecEnumerator, binary, blazeBuilder
, blazeBuilderEnumerator, bytestringNums, caseInsensitive
, directoryTree, enumerator, filepath, MonadCatchIOTransformers
, mtl, murmurHash, network, PSQueue, snapCore, text, time
, transformers, unixCompat, vector, vectorAlgorithms
}:
cabal.mkDerivation (self: {
pname = "snap-server";
version = "0.8.0.1";
sha256 = "1648p0m4n4ha4976gw891z112rzxd9q4s7n4x3v0z3qb10aynxjb";
buildDepends = [
attoparsec attoparsecEnumerator binary blazeBuilder
blazeBuilderEnumerator bytestringNums caseInsensitive directoryTree
enumerator filepath MonadCatchIOTransformers mtl murmurHash network
PSQueue snapCore text time transformers unixCompat vector
vectorAlgorithms
];
patchPhase = ''
sed -i -e 's|MonadCatchIO-transformers >= 0.2.1 && < 0.3|MonadCatchIO-transformers|' 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 ];
};
})