nixpkgs-suyu/pkgs/development/libraries/haskell/doctest/default.nix
2013-10-02 22:33:42 +02:00

23 lines
757 B
Nix

{ cabal, baseCompat, deepseq, filepath, ghcPaths, hspec, HUnit
, QuickCheck, setenv, silently, stringbuilder, syb, transformers
}:
cabal.mkDerivation (self: {
pname = "doctest";
version = "0.9.9";
sha256 = "1r1jdmch6sb4cdygh60pv42p4nr03shabrpd18hjnxs40dgc6pgy";
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;
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;
};
})