2013-08-21 02:52:00 -07:00
|
|
|
{ cabal, aeson, binary, blazeBuilder, Cabal, caseInsensitive
|
2013-12-09 04:03:20 -08:00
|
|
|
, cmdargs, conduit, deepseq, filepath, haskellSrcExts, httpTypes
|
2014-04-04 14:23:15 -07:00
|
|
|
, parsec, QuickCheck, random, resourcet, safe, shake, tagsoup, text
|
|
|
|
, time, transformers, uniplate, vector, vectorAlgorithms, wai, warp
|
2014-06-12 01:22:57 -07:00
|
|
|
, fetchurl
|
2012-03-25 11:22:20 -07:00
|
|
|
}:
|
|
|
|
|
|
|
|
cabal.mkDerivation (self: {
|
|
|
|
pname = "hoogle";
|
2014-04-17 12:13:02 -07:00
|
|
|
version = "4.2.32";
|
|
|
|
sha256 = "1rhr7xh4x9fgflcszbsl176r8jq6rm81bwzmbz73f3pa1zf1v0zc";
|
2012-03-25 11:22:20 -07:00
|
|
|
isLibrary = true;
|
|
|
|
isExecutable = true;
|
|
|
|
buildDepends = [
|
2013-08-21 02:52:00 -07:00
|
|
|
aeson binary blazeBuilder Cabal caseInsensitive cmdargs conduit
|
2014-02-24 01:11:58 -08:00
|
|
|
deepseq filepath haskellSrcExts httpTypes parsec QuickCheck random
|
2014-04-04 14:23:15 -07:00
|
|
|
resourcet safe shake tagsoup text time transformers uniplate vector
|
2014-02-24 01:11:58 -08:00
|
|
|
vectorAlgorithms wai warp
|
2013-08-21 02:52:00 -07:00
|
|
|
];
|
2013-12-09 04:03:20 -08:00
|
|
|
testDepends = [ filepath ];
|
2014-01-01 15:24:07 -08:00
|
|
|
testTarget = "--test-option=--no-net";
|
2014-06-12 01:22:57 -07:00
|
|
|
patches = [ (fetchurl { url = "https://github.com/ndmitchell/hoogle/commit/5fc294f2b5412fda107c7700f4d833b52f26184c.diff";
|
|
|
|
sha256 = "1fn52g90p2jsy87gf5rqrcg49s8hfwway5hi4v9i2rpg5mzxaq3i"; })
|
|
|
|
];
|
2012-03-25 11:22:20 -07:00
|
|
|
meta = {
|
|
|
|
homepage = "http://www.haskell.org/hoogle/";
|
|
|
|
description = "Haskell API Search";
|
2012-11-08 05:57:36 -08:00
|
|
|
license = self.stdenv.lib.licenses.bsd3;
|
2012-03-25 11:22:20 -07:00
|
|
|
platforms = self.ghc.meta.platforms;
|
2013-05-10 15:36:36 -07:00
|
|
|
maintainers = [ self.stdenv.lib.maintainers.andres ];
|
2012-03-25 11:22:20 -07:00
|
|
|
};
|
|
|
|
})
|