nixpkgs/pkgs/development/libraries/haskell/hoogle/default.nix
Peter Simons 384292b4d5 haskell-hoogle: disable test suite to fix the build
Running 1 test suites...
Test suite hoogle-test: RUNNING...
hoogle-test: datadir/testdata.txt: openFile: does not exist (No such file or directory)
Test suite hoogle-test: FAIL
Test suite logged to: dist/test/hoogle-4.2.19-hoogle-test.log
0 of 1 test suites (0 of 1 test cases) passed.
2013-08-24 13:00:43 +02:00

30 lines
1,010 B
Nix

{ cabal, aeson, binary, blazeBuilder, Cabal, caseInsensitive
, cmdargs, conduit, deepseq, filepath, haskellSrcExts, hspec
, hspecExpectations, httpTypes, HUnit, parsec, random, safe
, systemFileio, tagsoup, text, time, transformers, uniplate, wai
, warp
}:
cabal.mkDerivation (self: {
pname = "hoogle";
version = "4.2.19";
sha256 = "0mfmb3ky93gicwd1i4n3xfhlr3y6zgc4dv2nrilrr9l0kfka37f8";
isLibrary = true;
isExecutable = true;
buildDepends = [
aeson binary blazeBuilder Cabal caseInsensitive cmdargs conduit
deepseq filepath haskellSrcExts httpTypes parsec random safe
tagsoup text time transformers uniplate wai warp
];
testDepends = [
conduit hspec hspecExpectations HUnit systemFileio transformers
];
doCheck = false;
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 ];
};
})