summary refs log tree commit diff
path: root/pkgs/development/libraries/haskell/yesod/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/libraries/haskell/yesod/default.nix')
-rw-r--r--pkgs/development/libraries/haskell/yesod/default.nix29
1 files changed, 29 insertions, 0 deletions
diff --git a/pkgs/development/libraries/haskell/yesod/default.nix b/pkgs/development/libraries/haskell/yesod/default.nix
new file mode 100644
index 000000000000..72af9d343e3c
--- /dev/null
+++ b/pkgs/development/libraries/haskell/yesod/default.nix
@@ -0,0 +1,29 @@
+{ cabal, attoparsecText, blazeBuilder, hamlet, hjsmin, httpTypes
+, mimeMail, monadControl, parsec, text, time, transformers
+, unixCompat, wai, waiExtra, warp, yesodAuth, yesodCore, yesodForm
+, yesodJson, yesodPersistent, yesodStatic
+}:
+
+cabal.mkDerivation (self: {
+  pname = "yesod";
+  version = "0.8.2.1";
+  sha256 = "0idpgzbzy31bl5khc83wgi9a9mzrymris0mg5dlc4kj4sd5a1ksi";
+  isLibrary = true;
+  isExecutable = true;
+  buildDepends = [
+    attoparsecText blazeBuilder hamlet hjsmin httpTypes mimeMail
+    monadControl parsec text time transformers unixCompat wai waiExtra
+    warp yesodAuth yesodCore yesodForm yesodJson yesodPersistent
+    yesodStatic
+  ];
+  meta = {
+    homepage = "http://www.yesodweb.com/";
+    description = "Creation of type-safe, RESTful web applications";
+    license = self.stdenv.lib.licenses.bsd3;
+    platforms = self.ghc.meta.platforms;
+    maintainers = [
+      self.stdenv.lib.maintainers.andres
+      self.stdenv.lib.maintainers.simons
+    ];
+  };
+})