mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-04 19:45:54 +00:00
29 lines
904 B
Nix
29 lines
904 B
Nix
{ cabal, ansiTerminal, deepseq, doctest, filepath, ghcPaths
|
|
, hspecExpectations, hspecMeta, HUnit, QuickCheck, quickcheckIo
|
|
, random, setenv, silently, time, transformers
|
|
}:
|
|
|
|
cabal.mkDerivation (self: {
|
|
pname = "hspec";
|
|
version = "1.8.1.1";
|
|
sha256 = "1gpll1pr8zs7ha1nn13rp579av4nnjkz94rq0js6r1awz69cp0rb";
|
|
isLibrary = true;
|
|
isExecutable = true;
|
|
buildDepends = [
|
|
ansiTerminal deepseq filepath hspecExpectations HUnit QuickCheck
|
|
quickcheckIo random setenv time transformers
|
|
];
|
|
testDepends = [
|
|
ansiTerminal deepseq doctest filepath ghcPaths hspecExpectations
|
|
hspecMeta HUnit QuickCheck quickcheckIo random setenv silently time
|
|
transformers
|
|
];
|
|
doCheck = false;
|
|
meta = {
|
|
homepage = "http://hspec.github.io/";
|
|
description = "Behavior-Driven Development for Haskell";
|
|
license = self.stdenv.lib.licenses.mit;
|
|
platforms = self.ghc.meta.platforms;
|
|
};
|
|
})
|