2013-11-21 15:28:11 +00:00
|
|
|
{ cabal, deepseq, filepath, ghcPaths, hspec, HUnit, QuickCheck
|
|
|
|
, setenv, silently, stringbuilder, syb, transformers
|
2013-02-24 21:09:07 +00:00
|
|
|
}:
|
2013-01-21 11:08:24 +00:00
|
|
|
|
|
|
|
cabal.mkDerivation (self: {
|
|
|
|
pname = "doctest";
|
2014-02-03 09:26:00 +00:00
|
|
|
version = "0.9.10.1";
|
|
|
|
sha256 = "1kl6bihhyj08ifij7ddpy6067s1lv2lnnp4an9wany3fzwlifbyi";
|
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 = [
|
2013-11-21 15:28:11 +00:00
|
|
|
deepseq filepath ghcPaths hspec HUnit QuickCheck setenv silently
|
|
|
|
stringbuilder syb transformers
|
2013-02-24 21:09:07 +00:00
|
|
|
];
|
2013-03-09 23:32:32 +00:00
|
|
|
doCheck = false;
|
2013-12-19 10:35:14 +00:00
|
|
|
noHaddock = self.stdenv.lib.versionOlder self.ghc.version "7.4";
|
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;
|
|
|
|
};
|
|
|
|
})
|