diff --git a/manifest.dhall b/manifest.dhall index 6bbbc4b202429886fdb8005a3584967c6895e356..8abff58f5012af4f3b5141ea28a75469f6610077 100644 --- a/manifest.dhall +++ b/manifest.dhall @@ -475,6 +475,7 @@ in [ callHackage "Cabal" "3.8.1.0" "https://github.com/UnkindPartition/tasty" (None Text) (Some "hunit") + , callHackage "tasty-quickcheck" "0.10.2" , callHackage "tasty-wai" "0.1.2.0" , callHackage "test-framework" "0.8.2.0" , callHackage "test-framework-hunit" "0.3.0.2" diff --git a/overlay.nix b/overlay.nix index 6bc3e6e20b48db55e7d23c25f752935c08f0a02d..51a10f4a173a7a3eb3e2ef803903ade7fdfe673b 100644 --- a/overlay.nix +++ b/overlay.nix @@ -583,6 +583,8 @@ final: prev: with pkgs.haskell.lib; { tasty-hunit = prev.callPackage (./pkgs/tasty-hunit.nix) { }; + tasty-quickcheck = prev.callPackage (./pkgs/tasty-quickcheck.nix) { }; + tasty-wai = prev.callPackage (./pkgs/tasty-wai.nix) { }; test-framework = prev.callPackage (./pkgs/test-framework.nix) { }; diff --git a/pkgs/tasty-quickcheck.nix b/pkgs/tasty-quickcheck.nix new file mode 100644 index 0000000000000000000000000000000000000000..524009e37a6c4ff77b6444e7c315151bbe37b80a --- /dev/null +++ b/pkgs/tasty-quickcheck.nix @@ -0,0 +1,39 @@ +{ mkDerivation +, base +, lib +, optparse-applicative +, pcre-light +, QuickCheck +, random +, tagged +, tasty +, tasty-hunit +}: +mkDerivation { + pname = "tasty-quickcheck"; + version = "0.10.2"; + sha256 = "b4884c815db26a543ee1062664ee051ac89d51b2c2526d30029c6eb95b36cce2"; + isLibrary = true; + isExecutable = false; + enableSeparateDataOutput = false; + libraryHaskellDepends = [ + base + optparse-applicative + QuickCheck + random + tagged + tasty + ]; + testHaskellDepends = [ base pcre-light tasty tasty-hunit ]; + enableLibraryProfiling = false; + enableExecutableProfiling = false; + doHaddock = false; + jailbreak = true; + doCheck = false; + doBenchmark = false; + hyperlinkSource = false; + homepage = "https://github.com/UnkindPartition/tasty"; + description = "QuickCheck support for the Tasty test framework"; + license = lib.licenses.mit; + broken = false; +}