forked from mirrors/nixpkgs
27 lines
1,022 B
Nix
27 lines
1,022 B
Nix
{ cabal, attoparsec, attoparsecEnumerator, blazeBuilder
|
|
, blazeBuilderEnumerator, bytestringMmap, caseInsensitive, deepseq
|
|
, enumerator, filepath, HUnit, MonadCatchIOTransformers, mtl
|
|
, random, regexPosix, text, time, transformers, unixCompat
|
|
, unorderedContainers, vector, zlibEnum
|
|
}:
|
|
|
|
cabal.mkDerivation (self: {
|
|
pname = "snap-core";
|
|
version = "0.9.2";
|
|
sha256 = "04c1i5ccsb76yw7nyj8sxxnwq3ym14iygc3immdn2lqrm424vkkp";
|
|
buildDepends = [
|
|
attoparsec attoparsecEnumerator blazeBuilder blazeBuilderEnumerator
|
|
bytestringMmap caseInsensitive deepseq enumerator filepath HUnit
|
|
MonadCatchIOTransformers mtl random regexPosix text time
|
|
transformers unixCompat unorderedContainers vector zlibEnum
|
|
];
|
|
jailbreak = true;
|
|
meta = {
|
|
homepage = "http://snapframework.com/";
|
|
description = "Snap: A Haskell Web Framework (core interfaces and types)";
|
|
license = self.stdenv.lib.licenses.bsd3;
|
|
platforms = self.ghc.meta.platforms;
|
|
maintainers = [ self.stdenv.lib.maintainers.andres ];
|
|
};
|
|
})
|