mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-23 06:03:40 +00:00
25 lines
825 B
Nix
25 lines
825 B
Nix
{ cabal, baseCompat, deepseq, filepath, ghcPaths, hspec, HUnit
|
|
, QuickCheck, setenv, silently, stringbuilder, syb, transformers
|
|
}:
|
|
|
|
cabal.mkDerivation (self: {
|
|
pname = "doctest";
|
|
version = "0.9.11";
|
|
sha256 = "04y6y5hixqh8awl37wrss20c2drvx070w7wd6icfx7r0jqds97jr";
|
|
isLibrary = true;
|
|
isExecutable = true;
|
|
buildDepends = [ deepseq filepath ghcPaths syb transformers ];
|
|
testDepends = [
|
|
baseCompat deepseq filepath ghcPaths hspec HUnit QuickCheck setenv
|
|
silently stringbuilder syb transformers
|
|
];
|
|
doCheck = false;
|
|
noHaddock = self.stdenv.lib.versionOlder self.ghc.version "7.4";
|
|
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;
|
|
};
|
|
})
|