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

22 lines
643 B
Nix

{ cabal, ansiTerminal, filepath, hspecExpectations, HUnit
, QuickCheck, setenv, silently, time, transformers
}:
cabal.mkDerivation (self: {
pname = "hspec";
version = "1.4.3";
sha256 = "0i963fxamyyi3afac67rkw4340i3xqs1q3lvcy69mq0czbdvgjmc";
isLibrary = true;
isExecutable = true;
buildDepends = [
ansiTerminal filepath hspecExpectations HUnit QuickCheck setenv
silently time transformers
];
jailbreak = true;
meta = {
homepage = "http://hspec.github.com/";
description = "Behavior-Driven Development for Haskell";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
};
})