2014-03-26 09:50:45 +01:00
|
|
|
{ cabal, baseCompat, deepseq, filepath, ghcPaths, hspec, HUnit
|
|
|
|
, QuickCheck, setenv, silently, stringbuilder, syb, transformers
|
2013-02-24 22:09:07 +01:00
|
|
|
}:
|
2013-01-21 12:08:24 +01:00
|
|
|
|
|
|
|
cabal.mkDerivation (self: {
|
|
|
|
pname = "doctest";
|
2014-03-26 09:50:45 +01:00
|
|
|
version = "0.9.11";
|
|
|
|
sha256 = "04y6y5hixqh8awl37wrss20c2drvx070w7wd6icfx7r0jqds97jr";
|
2013-01-21 12:08:24 +01:00
|
|
|
isLibrary = true;
|
|
|
|
isExecutable = true;
|
|
|
|
buildDepends = [ deepseq filepath ghcPaths syb transformers ];
|
2013-02-24 22:09:07 +01:00
|
|
|
testDepends = [
|
2014-03-26 09:50:45 +01:00
|
|
|
baseCompat deepseq filepath ghcPaths hspec HUnit QuickCheck setenv
|
|
|
|
silently stringbuilder syb transformers
|
2013-02-24 22:09:07 +01:00
|
|
|
];
|
2013-03-10 00:32:32 +01:00
|
|
|
doCheck = false;
|
2013-12-19 11:35:14 +01:00
|
|
|
noHaddock = self.stdenv.lib.versionOlder self.ghc.version "7.4";
|
2013-01-21 12:08:24 +01:00
|
|
|
meta = {
|
|
|
|
homepage = "https://github.com/sol/doctest-haskell#readme";
|
|
|
|
description = "Test interactive Haskell examples";
|
|
|
|
license = self.stdenv.lib.licenses.mit;
|
|
|
|
platforms = self.ghc.meta.platforms;
|
|
|
|
};
|
|
|
|
})
|