24 lines
735 B
Nix
24 lines
735 B
Nix
{ cabal, deepseq, filepath, ghcPaths, hspec, HUnit, QuickCheck
|
|
, setenv, silently, stringbuilder, syb, transformers
|
|
}:
|
|
|
|
cabal.mkDerivation (self: {
|
|
pname = "doctest";
|
|
version = "0.9.10";
|
|
sha256 = "1xislgmg62i2bngq8ghg31r4ip4qdbqzr6rqhm5wac7nchjv0j83";
|
|
isLibrary = true;
|
|
isExecutable = true;
|
|
buildDepends = [ deepseq filepath ghcPaths syb transformers ];
|
|
testDepends = [
|
|
deepseq filepath ghcPaths hspec HUnit QuickCheck setenv silently
|
|
stringbuilder syb transformers
|
|
];
|
|
doCheck = false;
|
|
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;
|
|
};
|
|
})
|