From 6c26d6e61ab0f6ca8910ae5a842b217663206f8d Mon Sep 17 00:00:00 2001
From: Daniel Firth <dan.firth@homotopic.tech>
Date: Sat, 5 Nov 2022 08:48:23 +0000
Subject: [PATCH] tasty-quickcheck: init at 0.10.2

---
 manifest.dhall            |  1 +
 overlay.nix               |  2 ++
 pkgs/tasty-quickcheck.nix | 39 +++++++++++++++++++++++++++++++++++++++
 3 files changed, 42 insertions(+)
 create mode 100644 pkgs/tasty-quickcheck.nix

diff --git a/manifest.dhall b/manifest.dhall
index 6bbbc4b2..8abff58f 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 6bc3e6e2..51a10f4a 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 00000000..524009e3
--- /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;
+}
-- 
GitLab