a30df95691
This change brings support for building and running the regressions test suites.
27 lines
803 B
Nix
27 lines
803 B
Nix
{ cabal, ansiTerminal, doctest, filepath, ghcPaths
|
|
, hspecExpectations, hspecMeta, HUnit, QuickCheck, setenv, silently
|
|
, time, transformers
|
|
}:
|
|
|
|
cabal.mkDerivation (self: {
|
|
pname = "hspec";
|
|
version = "1.4.4";
|
|
sha256 = "09wrvdlqzpa3vjcnirnzpj8nsvqnn5xbilnxaqmjm2agbl8xfj5r";
|
|
isLibrary = true;
|
|
isExecutable = true;
|
|
buildDepends = [
|
|
ansiTerminal filepath hspecExpectations HUnit QuickCheck setenv
|
|
silently time transformers
|
|
];
|
|
testDepends = [
|
|
ansiTerminal doctest filepath ghcPaths hspecExpectations hspecMeta
|
|
HUnit QuickCheck setenv silently time transformers
|
|
];
|
|
meta = {
|
|
homepage = "http://hspec.github.com/";
|
|
description = "Behavior-Driven Development for Haskell";
|
|
license = self.stdenv.lib.licenses.bsd3;
|
|
platforms = self.ghc.meta.platforms;
|
|
};
|
|
})
|