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 {};