nixpkgs/pkgs/development/libraries/haskell/hspec/default.nix
Peter Simons a30df95691 Re-generate all Haskell packages with the latest version of cabal2nix.
This change brings support for building and running the regressions test suites.
2013-02-25 00:32:40 +01:00

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;
};
})