mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-14 15:36:47 +03:00
haskell-testpack: drop obsolete and unmaintained library
This commit is contained in:
parent
7a69341994
commit
a3c2a00abb
@ -1,17 +0,0 @@
|
||||
{ cabal, HUnit, mtl, QuickCheck, random }:
|
||||
|
||||
cabal.mkDerivation (self: {
|
||||
pname = "testpack";
|
||||
version = "2.1.2.1";
|
||||
sha256 = "1fm4dy9vs2whc48cr00ncqqzz6r5yp7bvgil86idbbgi8igld5j0";
|
||||
buildDepends = [ HUnit mtl QuickCheck random ];
|
||||
patches = [ ./support-recent-quickcheck.patch ];
|
||||
jailbreak = true;
|
||||
meta = {
|
||||
homepage = "http://hackage.haskell.org/cgi-bin/hackage-scripts/package/testpack";
|
||||
description = "Test Utililty Pack for HUnit and QuickCheck";
|
||||
license = "LGPL";
|
||||
platforms = self.ghc.meta.platforms;
|
||||
maintainers = [ self.stdenv.lib.maintainers.andres ];
|
||||
};
|
||||
})
|
@ -1,22 +0,0 @@
|
||||
diff --git a/src/Test/HUnit/Tools.hs b/src/Test/HUnit/Tools.hs
|
||||
index 01fac30..0de5526 100644
|
||||
--- a/src/Test/HUnit/Tools.hs
|
||||
+++ b/src/Test/HUnit/Tools.hs
|
||||
@@ -128,7 +128,7 @@ Often used like this:
|
||||
> q "Integer -> Int (safe bounds)" prop_integer_to_int_pass]
|
||||
-}
|
||||
qc2hu :: QC.Testable a => Int -> String -> a -> HU.Test
|
||||
-qc2hu maxTest = qccheck (stdArgs {maxSuccess = maxTest, maxDiscard = 20000})
|
||||
+qc2hu maxTest = qccheck (stdArgs {maxSuccess = maxTest})
|
||||
|
||||
{- | Run verbose tests. Example:
|
||||
|
||||
@@ -174,7 +174,7 @@ localquickCheckWithResult args p =
|
||||
Just (rnd,_) -> return rnd
|
||||
test MkState{ terminal = tm
|
||||
, maxSuccessTests = maxSuccess args
|
||||
- , maxDiscardedTests = maxDiscard args
|
||||
+ , maxDiscardedTests = 20000
|
||||
, computeSize = case replay args of
|
||||
Nothing -> \n d -> (n * maxSize args)
|
||||
`div` maxSuccess args
|
@ -1775,8 +1775,6 @@ let result = let callPackage = x : y : modifyPrio (newScope result.final x y);
|
||||
|
||||
testFrameworkThPrime = callPackage ../development/libraries/haskell/test-framework-th-prime {};
|
||||
|
||||
testpack = callPackage ../development/libraries/haskell/testpack {};
|
||||
|
||||
texmath = callPackage ../development/libraries/haskell/texmath {};
|
||||
|
||||
text_0_11_0_5 = callPackage ../development/libraries/haskell/text/0.11.0.5.nix {};
|
||||
|
@ -341,7 +341,6 @@ mapTestOn {
|
||||
Tensor = supportedSystems;
|
||||
terminfo = supportedSystems;
|
||||
testFramework = supportedSystems;
|
||||
testpack = supportedSystems;
|
||||
texmath = supportedSystems;
|
||||
text = supportedSystems;
|
||||
thLift = supportedSystems;
|
||||
|
Loading…
Reference in New Issue
Block a user