From 15282d8228b0b9f216c02f057ea90288e70f9b7f Mon Sep 17 00:00:00 2001 From: Shea Levy Date: Thu, 6 Feb 2014 14:14:53 -0500 Subject: [PATCH] Add scottyHastache haskell package Signed-off-by: Shea Levy --- .../haskell/scotty-hastache/default.nix | 19 +++++++++++++++++++ pkgs/top-level/haskell-packages.nix | 2 ++ 2 files changed, 21 insertions(+) create mode 100644 pkgs/development/libraries/haskell/scotty-hastache/default.nix diff --git a/pkgs/development/libraries/haskell/scotty-hastache/default.nix b/pkgs/development/libraries/haskell/scotty-hastache/default.nix new file mode 100644 index 000000000000..76e6fe45ad12 --- /dev/null +++ b/pkgs/development/libraries/haskell/scotty-hastache/default.nix @@ -0,0 +1,19 @@ +{ cabal, blazeHtml, blazeMarkup, filepath, hastache, httpTypes, mtl +, scotty, text, wai, warp +}: + +cabal.mkDerivation (self: { + pname = "scotty-hastache"; + version = "0.2.0"; + sha256 = "105cxlasj4sl4ddzg8ms6k95078q10zcm2c86jcn76s0jmv95669"; + buildDepends = [ + blazeHtml blazeMarkup filepath hastache httpTypes mtl scotty text + wai warp + ]; + meta = { + homepage = "https://github.com/scotty-web/scotty-hastache"; + description = "Easy Mustache templating support for Scotty"; + license = self.stdenv.lib.licenses.bsd3; + platforms = self.ghc.meta.platforms; + }; +}) diff --git a/pkgs/top-level/haskell-packages.nix b/pkgs/top-level/haskell-packages.nix index 7b98108dccb9..9619364ea567 100644 --- a/pkgs/top-level/haskell-packages.nix +++ b/pkgs/top-level/haskell-packages.nix @@ -2080,6 +2080,8 @@ let result = let callPackage = x : y : modifyPrio (newScope result.finalReturn x scotty = callPackage ../development/libraries/haskell/scotty {}; + scottyHastache = callPackage ../development/libraries/haskell/scotty-hastache {}; + securemem = callPackage ../development/libraries/haskell/securemem {}; sendfile = callPackage ../development/libraries/haskell/sendfile {};