2013-02-24 21:09:07 +00:00
|
|
|
{ cabal, baseCompat, deepseq, filepath, ghcPaths, hspec, HUnit
|
|
|
|
, QuickCheck, setenv, silently, stringbuilder, syb, transformers
|
|
|
|
}:
|
2013-01-21 11:08:24 +00:00
|
|
|
|
|
|
|
cabal.mkDerivation (self: {
|
|
|
|
pname = "doctest";
|
2013-05-05 18:15:22 +01:00
|
|
|
version = "0.9.7";
|
|
|
|
sha256 = "0d3aywm5v3kx16c1i6cb4inr7hdnmsl8qawxp27g0yng03wdra5l";
|
2013-01-21 11:08:24 +00:00
|
|
|
isLibrary = true;
|
|
|
|
isExecutable = true;
|
|
|
|
buildDepends = [ deepseq filepath ghcPaths syb transformers ];
|
2013-02-24 21:09:07 +00:00
|
|
|
testDepends = [
|
|
|
|
baseCompat deepseq filepath ghcPaths hspec HUnit QuickCheck setenv
|
|
|
|
silently stringbuilder syb transformers
|
|
|
|
];
|
2013-03-09 23:32:32 +00:00
|
|
|
doCheck = false;
|
2013-01-21 11:08:24 +00: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;
|
|
|
|
};
|
|
|
|
})
|