mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 07:13:23 +01:00
haskell-hspec2: new package, v0.3.0
This commit is contained in:
parent
1d3477c422
commit
de0520bb3a
2 changed files with 31 additions and 0 deletions
29
pkgs/development/libraries/haskell/hspec2/default.nix
Normal file
29
pkgs/development/libraries/haskell/hspec2/default.nix
Normal file
|
@ -0,0 +1,29 @@
|
|||
{ cabal, ansiTerminal, async, deepseq, doctest, filepath, ghcPaths
|
||||
, hspecExpectations, hspecMeta, HUnit, ioMemoize, QuickCheck
|
||||
, quickcheckIo, random, setenv, silently, tfRandom, time
|
||||
, transformers
|
||||
}:
|
||||
|
||||
cabal.mkDerivation (self: {
|
||||
pname = "hspec2";
|
||||
version = "0.3.0";
|
||||
sha256 = "0ia19jraz2di31c48lh0kswkb2573jxm7msf33i8d5a5yq8y9wwp";
|
||||
isLibrary = true;
|
||||
isExecutable = true;
|
||||
buildDepends = [
|
||||
ansiTerminal async deepseq filepath hspecExpectations HUnit
|
||||
ioMemoize QuickCheck quickcheckIo random setenv tfRandom time
|
||||
transformers
|
||||
];
|
||||
testDepends = [
|
||||
ansiTerminal async deepseq doctest filepath ghcPaths
|
||||
hspecExpectations hspecMeta HUnit ioMemoize QuickCheck quickcheckIo
|
||||
random setenv silently tfRandom time transformers
|
||||
];
|
||||
meta = {
|
||||
homepage = "http://hspec.github.io/";
|
||||
description = "Alpha version of Hspec 2.0";
|
||||
license = self.stdenv.lib.licenses.mit;
|
||||
platforms = self.ghc.meta.platforms;
|
||||
};
|
||||
})
|
|
@ -1156,6 +1156,8 @@ self : let callPackage = x : y : modifyPrio (newScope self x y); in
|
|||
|
||||
hspec = callPackage ../development/libraries/haskell/hspec {};
|
||||
|
||||
hspec2 = callPackage ../development/libraries/haskell/hspec2 {};
|
||||
|
||||
hspecExpectations = callPackage ../development/libraries/haskell/hspec-expectations {};
|
||||
|
||||
hspecExpectationsLens = callPackage ../development/libraries/haskell/hspec-expectations-lens {};
|
||||
|
|
Loading…
Reference in a new issue