2013-02-24 22:09:07 +01:00
|
|
|
{ cabal, baseCompat, deepseq, filepath, ghcPaths, hspec, HUnit
|
|
|
|
, QuickCheck, setenv, silently, stringbuilder, syb, transformers
|
|
|
|
}:
|
2013-01-21 12:08:24 +01:00
|
|
|
|
|
|
|
cabal.mkDerivation (self: {
|
|
|
|
pname = "doctest";
|
|
|
|
version = "0.9.5";
|
|
|
|
sha256 = "073q56gyhkb7r4f94b9nx341dkmgapy8gig7f668jkghv2zci5ws";
|
|
|
|
isLibrary = true;
|
|
|
|
isExecutable = true;
|
|
|
|
buildDepends = [ deepseq filepath ghcPaths syb transformers ];
|
2013-02-24 22:09:07 +01:00
|
|
|
testDepends = [
|
|
|
|
baseCompat deepseq filepath ghcPaths hspec HUnit QuickCheck setenv
|
|
|
|
silently stringbuilder syb transformers
|
|
|
|
];
|
2013-03-08 13:56:12 +01:00
|
|
|
jailbreak = true;
|
2013-03-10 00:32:32 +01:00
|
|
|
doCheck = false;
|
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;
|
|
|
|
};
|
|
|
|
})
|