nixpkgs/pkgs/development/libraries/haskell/hspec/default.nix

28 lines
861 B
Nix
Raw Normal View History

{ cabal, ansiTerminal, doctest, filepath, ghcPaths
, hspecExpectations, hspecMeta, HUnit, QuickCheck, setenv, silently
, time, transformers
}:
cabal.mkDerivation (self: {
pname = "hspec";
2013-03-18 11:02:04 +00:00
version = "1.4.5";
sha256 = "1dfwc1gjsawafi6k19hsw4kd5ahp8a9hdkyrm7nhjp4kjzgd2ymf";
isLibrary = true;
isExecutable = true;
buildDepends = [
2012-11-09 10:38:36 +00:00
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/";
2012-11-16 14:59:15 +00:00
description = "Behavior-Driven Development for Haskell";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
maintainers = [ self.stdenv.lib.maintainers.simons ];
};
})