summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorPeter Simons <simons@cryp.to>2011-09-09 18:44:33 +0000
committerPeter Simons <simons@cryp.to>2011-09-09 18:44:33 +0000
commit4b66e4ce2506720b489fe1197c94017f36acdc0c (patch)
tree003253e76ffe472e30c9fcde3837fc7c8c5472bd /pkgs
parent3864892222adf0abc9aba53efde1382d9faafeca (diff)
downloadnixlib-4b66e4ce2506720b489fe1197c94017f36acdc0c.tar
nixlib-4b66e4ce2506720b489fe1197c94017f36acdc0c.tar.gz
nixlib-4b66e4ce2506720b489fe1197c94017f36acdc0c.tar.bz2
nixlib-4b66e4ce2506720b489fe1197c94017f36acdc0c.tar.lz
nixlib-4b66e4ce2506720b489fe1197c94017f36acdc0c.tar.xz
nixlib-4b66e4ce2506720b489fe1197c94017f36acdc0c.tar.zst
nixlib-4b66e4ce2506720b489fe1197c94017f36acdc0c.zip
haskell-happstack-hamlet: added version 6.2.0
svn path=/nixpkgs/trunk/; revision=29135
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/development/libraries/haskell/happstack/happstack-hamlet.nix18
-rw-r--r--pkgs/top-level/haskell-packages.nix2
2 files changed, 20 insertions, 0 deletions
diff --git a/pkgs/development/libraries/haskell/happstack/happstack-hamlet.nix b/pkgs/development/libraries/haskell/happstack/happstack-hamlet.nix
new file mode 100644
index 000000000000..3eccba4eb381
--- /dev/null
+++ b/pkgs/development/libraries/haskell/happstack/happstack-hamlet.nix
@@ -0,0 +1,18 @@
+{ cabal, hamlet, happstackServer, text }:
+
+cabal.mkDerivation (self: {
+  pname = "happstack-hamlet";
+  version = "6.2.0";
+  sha256 = "1y3nc6z9y96fci25dc6w66l0qlnkz29kr29dpd2sjnhpqm0kvzsc";
+  buildDepends = [ hamlet happstackServer text ];
+  meta = {
+    homepage = "http://www.happstack.com/";
+    description = "Support for Hamlet HTML templates in Happstack";
+    license = self.stdenv.lib.licenses.bsd3;
+    platforms = self.ghc.meta.platforms;
+    maintainers = [
+      self.stdenv.lib.maintainers.andres
+      self.stdenv.lib.maintainers.simons
+    ];
+  };
+})
diff --git a/pkgs/top-level/haskell-packages.nix b/pkgs/top-level/haskell-packages.nix
index bbfac68f5150..66d562a49869 100644
--- a/pkgs/top-level/haskell-packages.nix
+++ b/pkgs/top-level/haskell-packages.nix
@@ -640,6 +640,8 @@ let result = let callPackage = x : y : modifyPrio (newScope result.final x y);
 
   happstackServer = callPackage ../development/libraries/haskell/happstack/happstack-server.nix {};
 
+  happstackHamlet = callPackage ../development/libraries/haskell/happstack/happstack-hamlet.nix {};
+
   hashable = callPackage ../development/libraries/haskell/hashable {};
 
   hashedStorage = callPackage ../development/libraries/haskell/hashed-storage {};