From 7f874ca558d09adb04310ea3b210ac9d69405848 Mon Sep 17 00:00:00 2001 From: Alexander Foremny Date: Fri, 19 Jul 2013 13:30:16 +0200 Subject: [PATCH] Add haskell-happstack-lite --- .../libraries/haskell/happstack/happstack-lite.nix | 14 ++++++++++++++ pkgs/top-level/haskell-packages.nix | 2 ++ 2 files changed, 16 insertions(+) create mode 100644 pkgs/development/libraries/haskell/happstack/happstack-lite.nix diff --git a/pkgs/development/libraries/haskell/happstack/happstack-lite.nix b/pkgs/development/libraries/haskell/happstack/happstack-lite.nix new file mode 100644 index 000000000000..46edfb8946ac --- /dev/null +++ b/pkgs/development/libraries/haskell/happstack/happstack-lite.nix @@ -0,0 +1,14 @@ +{ cabal, happstackServer, mtl, text }: + +cabal.mkDerivation (self: { + pname = "happstack-lite"; + version = "7.3.1"; + sha256 = "0y8d0xv26szfjmkfqzak19zqjgv0w6rkc1rzrd2jkvsbchnwacjy"; + buildDepends = [ happstackServer mtl text ]; + meta = { + homepage = "http://www.happstack.com/"; + description = "Happstack minus the useless stuff"; + 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 bd7959463f37..dd9ed825e0ce 100644 --- a/pkgs/top-level/haskell-packages.nix +++ b/pkgs/top-level/haskell-packages.nix @@ -1083,6 +1083,8 @@ let result = let callPackage = x : y : modifyPrio (newScope result.final x y); happstackHamlet = callPackage ../development/libraries/haskell/happstack/happstack-hamlet.nix {}; + happstackLite = callPackage ../development/libraries/haskell/happstack/happstack-lite.nix {}; + hashable_1_1_2_5 = callPackage ../development/libraries/haskell/hashable/1.1.2.5.nix {}; hashable_1_2_0_10 = callPackage ../development/libraries/haskell/hashable/1.2.0.10.nix {}; hashable = self.hashable_1_2_0_10;