summary refs log tree commit diff
path: root/pkgs/development/tools/documentation/haddock/2.10.0.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/tools/documentation/haddock/2.10.0.nix')
-rw-r--r--pkgs/development/tools/documentation/haddock/2.10.0.nix21
1 files changed, 21 insertions, 0 deletions
diff --git a/pkgs/development/tools/documentation/haddock/2.10.0.nix b/pkgs/development/tools/documentation/haddock/2.10.0.nix
new file mode 100644
index 000000000000..a1510f58f7e1
--- /dev/null
+++ b/pkgs/development/tools/documentation/haddock/2.10.0.nix
@@ -0,0 +1,21 @@
+{ cabal, alex, Cabal, filepath, ghcPaths, happy, xhtml }:
+
+cabal.mkDerivation (self: {
+  pname = "haddock";
+  version = "2.10.0";
+  sha256 = "045lmmna5nwj07si81vxms5xkkmqvjsiif20nny5mvlabshxn1yi";
+  isLibrary = true;
+  isExecutable = true;
+  buildDepends = [ Cabal filepath ghcPaths xhtml ];
+  buildTools = [ alex happy ];
+  meta = {
+    homepage = "http://www.haskell.org/haddock/";
+    description = "A documentation-generation tool for Haskell libraries";
+    license = self.stdenv.lib.licenses.bsd3;
+    platforms = self.ghc.meta.platforms;
+    maintainers = [
+      self.stdenv.lib.maintainers.andres
+      self.stdenv.lib.maintainers.simons
+    ];
+  };
+})