Extra libraries required for web dev with Snap

[shlevy]: Fixed missing .nix in haskell-packages.nix
This commit is contained in:
Daniel Santa Cruz 2012-08-01 21:13:27 -04:00 committed by Shea Levy
parent a143bb79e2
commit 51c95330b3
2 changed files with 16 additions and 0 deletions

View File

@ -0,0 +1,14 @@
{ cabal, directoryTree, hint, mtl, snapCore, time }:
cabal.mkDerivation (self: {
pname = "snap-loader-dynamic";
version = "0.9.0";
sha256 = "1pbpvi20an077klvha1dflnlxpfb6m81n9d50hjhidf6430cmmhm";
buildDepends = [ directoryTree hint mtl snapCore time ];
meta = {
homepage = "http://snapframework.com/";
description = "Snap: A Haskell Web Framework: dynamic loader";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
};
})

View File

@ -1325,6 +1325,8 @@ let result = let callPackage = x : y : modifyPrio (newScope result.final x y);
snapCore = callPackage ../development/libraries/haskell/snap/core.nix {}; snapCore = callPackage ../development/libraries/haskell/snap/core.nix {};
snapLoaderDynamic = callPackage ../development/libraries/haskell/snap/loader-dynamic {};
snapLoaderStatic = callPackage ../development/libraries/haskell/snap/loader-static.nix {}; snapLoaderStatic = callPackage ../development/libraries/haskell/snap/loader-static.nix {};
snapServer = callPackage ../development/libraries/haskell/snap/server.nix {}; snapServer = callPackage ../development/libraries/haskell/snap/server.nix {};