forked from mirrors/nixpkgs
Added test-framework.
svn path=/nixpkgs/trunk/; revision=27695
This commit is contained in:
parent
5d27ed479a
commit
d7d0700d18
|
@ -2,8 +2,8 @@
|
|||
|
||||
cabal.mkDerivation (self : {
|
||||
pname = "ansi-wl-pprint";
|
||||
version = "0.5.0";
|
||||
sha256 = "295e6924409012e3371db1bb5c02475614fcf1ea99e6bff45a5fc84fb13b8284";
|
||||
version = "0.6.3";
|
||||
sha256 = "1cpkfn1ld0sjysksdsxxwwy1b17s4smmzk8y88y9mb81vgwlalkl";
|
||||
propagatedBuildInputs = [ansiTerminal];
|
||||
meta = {
|
||||
description = "The Wadler/Leijen Pretty Printer for colored ANSI terminal output";
|
||||
|
|
13
pkgs/development/libraries/haskell/hostname/default.nix
Normal file
13
pkgs/development/libraries/haskell/hostname/default.nix
Normal file
|
@ -0,0 +1,13 @@
|
|||
{cabal}:
|
||||
|
||||
cabal.mkDerivation (self : {
|
||||
pname = "hostname";
|
||||
version = "1.0";
|
||||
sha256 = "0p6gm4328946qxc295zb6vhwhf07l1fma82vd0siylnsnsqxlhwv";
|
||||
meta = {
|
||||
description = "A very simple package providing a cross-platform means of determining the hostname";
|
||||
license = "BSD3";
|
||||
maintainers = [self.stdenv.lib.maintainers.andres];
|
||||
};
|
||||
})
|
||||
|
|
@ -0,0 +1,14 @@
|
|||
{cabal, HUnit, testFramework}:
|
||||
|
||||
cabal.mkDerivation (self : {
|
||||
pname = "test-framework-hunit";
|
||||
version = "0.2.6";
|
||||
sha256 = "1ivgyh71wwvrrgnk3fp6hsfssvy39jikhjdzr7x68pv1ca7f247r";
|
||||
propagatedBuildInputs = [HUnit testFramework];
|
||||
meta = {
|
||||
description = "HUnit support for the test-framework package";
|
||||
license = "BSD3";
|
||||
maintainers = [self.stdenv.lib.maintainers.andres];
|
||||
};
|
||||
})
|
||||
|
|
@ -0,0 +1,14 @@
|
|||
{cabal, QuickCheck1, testFramework, deepseq}:
|
||||
|
||||
cabal.mkDerivation (self : {
|
||||
pname = "test-framework-quickcheck";
|
||||
version = "0.2.7";
|
||||
sha256 = "065nazli8vh9dz8xi71gwzlwy81anfd471jhz6hv3m893cc9vvx8";
|
||||
propagatedBuildInputs = [QuickCheck1 testFramework deepseq];
|
||||
meta = {
|
||||
description = "QuickCheck support for the test-framework package";
|
||||
license = "BSD3";
|
||||
maintainers = [self.stdenv.lib.maintainers.andres];
|
||||
};
|
||||
})
|
||||
|
|
@ -0,0 +1,14 @@
|
|||
{cabal, QuickCheck2, testFramework}:
|
||||
|
||||
cabal.mkDerivation (self : {
|
||||
pname = "test-framework-quickcheck2";
|
||||
version = "0.2.10";
|
||||
sha256 = "12c37m74idjydxshgms9ib9ii2rpvy4647kra2ards1w2jmnr6w3";
|
||||
propagatedBuildInputs = [QuickCheck2 testFramework];
|
||||
meta = {
|
||||
description = "QuickCheck2 support for the test-framework package";
|
||||
license = "BSD3";
|
||||
maintainers = [self.stdenv.lib.maintainers.andres];
|
||||
};
|
||||
})
|
||||
|
|
@ -0,0 +1,14 @@
|
|||
{cabal, ansiTerminal, ansiWLPprint, hostname, regexPosix, xml}:
|
||||
|
||||
cabal.mkDerivation (self : {
|
||||
pname = "test-framework";
|
||||
version = "0.4.0";
|
||||
sha256 = "0zxrdndycr63kzfibk0c2n4j39x6b8s4332sgqm54g1vdl3fxzbl";
|
||||
propagatedBuildInputs = [ansiTerminal ansiWLPprint hostname regexPosix xml];
|
||||
meta = {
|
||||
description = "Framework for running and organising tests";
|
||||
license = "BSD3";
|
||||
maintainers = [self.stdenv.lib.maintainers.andres];
|
||||
};
|
||||
})
|
||||
|
|
@ -615,6 +615,8 @@ let result = let callPackage = x : y : modifyPrio (newScope result.final x y);
|
|||
|
||||
hopenssl = callPackage ../development/libraries/haskell/hopenssl {};
|
||||
|
||||
hostname = callPackage ../development/libraries/haskell/hostname {};
|
||||
|
||||
hscolour = callPackage ../development/libraries/haskell/hscolour {};
|
||||
|
||||
hsemail = callPackage ../development/libraries/haskell/hsemail {};
|
||||
|
@ -937,6 +939,14 @@ let result = let callPackage = x : y : modifyPrio (newScope result.final x y);
|
|||
inherit (pkgs) ncurses;
|
||||
};
|
||||
|
||||
testFramework = callPackage ../development/libraries/haskell/test-framework {};
|
||||
|
||||
testFrameworkHUnit = callPackage ../development/libraries/haskell/test-framework-hunit {};
|
||||
|
||||
testFrameworkQuickCheck = callPackage ../development/libraries/haskell/test-framework-quickcheck {};
|
||||
|
||||
testFrameworkQuickCheck2 = callPackage ../development/libraries/haskell/test-framework-quickcheck2 {};
|
||||
|
||||
testpack = callPackage ../development/libraries/haskell/testpack {};
|
||||
|
||||
texmath = callPackage ../development/libraries/haskell/texmath {};
|
||||
|
|
Loading…
Reference in a new issue