summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorPeter Simons <simons@cryp.to>2014-08-14 13:56:24 +0200
committerPeter Simons <simons@cryp.to>2014-08-14 13:56:24 +0200
commit758838df2bfaced546d47b61c47deecdbea55a5b (patch)
treea1dac7b2f0919ae8880cb2b7db25dea9748be8db /pkgs
parent91ce5a47a697d95ecf4d47a3e4a4e838eeaf1dbb (diff)
parentaab5ab87118065c3afa48076d8b82d1ef55de80f (diff)
downloadnixlib-758838df2bfaced546d47b61c47deecdbea55a5b.tar
nixlib-758838df2bfaced546d47b61c47deecdbea55a5b.tar.gz
nixlib-758838df2bfaced546d47b61c47deecdbea55a5b.tar.bz2
nixlib-758838df2bfaced546d47b61c47deecdbea55a5b.tar.lz
nixlib-758838df2bfaced546d47b61c47deecdbea55a5b.tar.xz
nixlib-758838df2bfaced546d47b61c47deecdbea55a5b.tar.zst
nixlib-758838df2bfaced546d47b61c47deecdbea55a5b.zip
Merge pull request #3579 from ts468/haskell-haskell-docs
Add Haskell package: haskell-docs
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/development/tools/haskell/haskell-docs/default.nix22
-rw-r--r--pkgs/top-level/haskell-packages.nix2
2 files changed, 24 insertions, 0 deletions
diff --git a/pkgs/development/tools/haskell/haskell-docs/default.nix b/pkgs/development/tools/haskell/haskell-docs/default.nix
new file mode 100644
index 000000000000..e77a9ffe21e7
--- /dev/null
+++ b/pkgs/development/tools/haskell/haskell-docs/default.nix
@@ -0,0 +1,22 @@
+{ cabal, aeson, Cabal, filepath, ghcPaths, haddock, monadLoops
+, text, unorderedContainers
+}:
+
+cabal.mkDerivation (self: {
+  pname = "haskell-docs";
+  version = "4.2.2";
+  sha256 = "0w52kzwjzd5jl8v55rjy5550cy2fcyj9j5b7b33vbwjyh06gfrk1";
+  isLibrary = true;
+  isExecutable = true;
+  buildDepends = [
+    aeson Cabal filepath ghcPaths haddock monadLoops text
+    unorderedContainers
+  ];
+  doCheck = false;
+  meta = {
+    homepage = "http://github.com/chrisdone/haskell-docs";
+    description = "A program to find and display the docs and type of a name";
+    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 82e3a687e27f..7bb049de55f4 100644
--- a/pkgs/top-level/haskell-packages.nix
+++ b/pkgs/top-level/haskell-packages.nix
@@ -2858,6 +2858,8 @@ self : let callPackage = x : y : modifyPrio (newScope self x y); in
 
   happyMeta = callPackage ../development/tools/haskell/happy-meta {};
 
+  haskellDocs = callPackage ../development/tools/haskell/haskell-docs {};
+
   haskdogs = callPackage ../development/tools/haskell/haskdogs {};
 
   hasktags = callPackage ../development/tools/haskell/hasktags {};