3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/libraries/haskell/hledger-web/default.nix
Peter Simons 4417ffa2b5 haskell-hledger-web: disable 'doCheck' to avoid test suite build failure
tests/main.hs:12:8:
    Could not find module `HomeTest'
    Use -v to see a list of the files searched for.
2013-02-25 02:01:23 +01:00

36 lines
1.3 KiB
Nix

{ cabal, blazeHtml, blazeMarkup, clientsession, cmdargs
, dataDefault, filepath, hamlet, hjsmin, hledger, hledgerLib
, httpConduit, HUnit, ioStorage, monadControl, networkConduit
, parsec, regexpr, safe, shakespeareCss, shakespeareJs
, shakespeareText, text, time, transformers, wai, waiExtra, warp
, yaml, yesod, yesodCore, yesodDefault, yesodForm, yesodStatic
, yesodTest
}:
cabal.mkDerivation (self: {
pname = "hledger-web";
version = "0.19.3";
sha256 = "1kx5mn6drm90clz132vrd2lkssm73hlwvxb9cxg6z82i5qa9jqn9";
isLibrary = true;
isExecutable = true;
buildDepends = [
blazeHtml blazeMarkup clientsession cmdargs dataDefault filepath
hamlet hjsmin hledger hledgerLib httpConduit HUnit ioStorage
monadControl networkConduit parsec regexpr safe shakespeareCss
shakespeareJs shakespeareText text time transformers wai waiExtra
warp yaml yesod yesodCore yesodDefault yesodForm yesodStatic
];
testDepends = [ yesodCore yesodDefault yesodTest ];
patchPhase = ''
sed -r -i -e 's|blaze-html * >= 0.5 *&& < 0.6|blaze-html >= 0.5|' hledger-web.cabal
'';
jailbreak = true;
doCheck = false;
meta = {
homepage = "http://hledger.org";
description = "A web interface for the hledger accounting tool";
license = "GPL";
platforms = self.ghc.meta.platforms;
};
})