1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/development/libraries/haskell/doctest/default.nix
2014-03-17 18:33:54 +01:00

25 lines
804 B
Nix

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