nixpkgs-suyu/pkgs/development/libraries/haskell/hspec/default.nix
2014-03-22 09:04:46 +01:00

28 lines
930 B
Nix

{ cabal, ansiTerminal, deepseq, doctest, filepath, ghcPaths
, hspecExpectations, hspecMeta, HUnit, QuickCheck, quickcheckIo
, random, setenv, silently, tfRandom, time, transformers
}:
cabal.mkDerivation (self: {
pname = "hspec";
version = "1.9.0";
sha256 = "01nwxx63l9cl1smld7pwm59k6shs865iiy1jqwi97lkhzhy9cvhl";
isLibrary = true;
isExecutable = true;
buildDepends = [
ansiTerminal deepseq filepath hspecExpectations HUnit QuickCheck
quickcheckIo random setenv tfRandom time transformers
];
testDepends = [
ansiTerminal deepseq doctest filepath ghcPaths hspecExpectations
hspecMeta HUnit QuickCheck quickcheckIo random setenv silently
tfRandom 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;
};
})