mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 05:33:23 +00:00
25 lines
777 B
Nix
25 lines
777 B
Nix
{ cabal, baseCompat, deepseq, filepath, ghcPaths, hspec, HUnit
|
|
, QuickCheck, setenv, silently, stringbuilder, syb, transformers
|
|
}:
|
|
|
|
cabal.mkDerivation (self: {
|
|
pname = "doctest";
|
|
version = "0.9.5";
|
|
sha256 = "073q56gyhkb7r4f94b9nx341dkmgapy8gig7f668jkghv2zci5ws";
|
|
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;
|
|
jailbreak = true;
|
|
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;
|
|
};
|
|
})
|