diff --git a/pkgs/development/libraries/haskell/hoogle/default.nix b/pkgs/development/libraries/haskell/hoogle/default.nix new file mode 100644 index 00000000000..c9de0ef46c2 --- /dev/null +++ b/pkgs/development/libraries/haskell/hoogle/default.nix @@ -0,0 +1,23 @@ +{ cabal, binary, blazeBuilder, Cabal, caseInsensitive, cmdargs +, conduit, filepath, haskellSrcExts, httpTypes, parsec, random +, safe, tagsoup, time, transformers, uniplate, wai, warp +}: + +cabal.mkDerivation (self: { + pname = "hoogle"; + version = "4.2.10"; + sha256 = "0vb4jj9m512v476fclmjzlk725hgba8q5njx2h1xwb0a76qvj2mg"; + isLibrary = true; + isExecutable = true; + buildDepends = [ + binary blazeBuilder Cabal caseInsensitive cmdargs conduit filepath + haskellSrcExts httpTypes parsec random safe tagsoup time + transformers uniplate wai warp + ]; + meta = { + homepage = "http://www.haskell.org/hoogle/"; + description = "Haskell API Search"; + license = "GPL"; + platforms = self.ghc.meta.platforms; + }; +}) diff --git a/pkgs/top-level/haskell-packages.nix b/pkgs/top-level/haskell-packages.nix index 0d3d43ab64c..9da648faddb 100644 --- a/pkgs/top-level/haskell-packages.nix +++ b/pkgs/top-level/haskell-packages.nix @@ -860,6 +860,8 @@ let result = let callPackage = x : y : modifyPrio (newScope result.final x y); hmatrix = callPackage ../development/libraries/haskell/hmatrix {}; + hoogle = callPackage ../development/libraries/haskell/hoogle {}; + hopenssl = callPackage ../development/libraries/haskell/hopenssl {}; hostname = callPackage ../development/libraries/haskell/hostname {};