nixpkgs/pkgs/development/libraries/haskell/hoogle/default.nix

28 lines
936 B
Nix
Raw Normal View History

{ cabal, aeson, binary, blazeBuilder, Cabal, caseInsensitive
, cmdargs, conduit, deepseq, filepath, haskellSrcExts, httpTypes
, parsec, random, safe, shake, tagsoup, text, time, transformers
, uniplate, wai, warp
}:
cabal.mkDerivation (self: {
pname = "hoogle";
version = "4.2.28";
sha256 = "0dd8qsspbcb76ld9v61x2jjsyxakrasww69gzzprb4dxzm58lsid";
isLibrary = true;
isExecutable = true;
buildDepends = [
aeson binary blazeBuilder Cabal caseInsensitive cmdargs conduit
deepseq filepath haskellSrcExts httpTypes parsec random safe shake
tagsoup text time transformers uniplate wai warp
];
testDepends = [ filepath ];
testTarget = "--test-option=--no-net";
meta = {
homepage = "http://www.haskell.org/hoogle/";
description = "Haskell API Search";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
maintainers = [ self.stdenv.lib.maintainers.andres ];
};
})