From 38727198792bd418d2287f5682d10c7b1f20471f Mon Sep 17 00:00:00 2001
From: Daniel Firth <dan.firth@homotopic.tech>
Date: Mon, 7 Nov 2022 18:26:41 +0000
Subject: [PATCH] quickcheck-text: init at 0.1.2.1

---
 manifest.dhall           |  1 +
 overlay.nix              |  2 ++
 pkgs/quickcheck-text.nix | 22 ++++++++++++++++++++++
 3 files changed, 25 insertions(+)
 create mode 100644 pkgs/quickcheck-text.nix

diff --git a/manifest.dhall b/manifest.dhall
index 2f5efaad..bbf48326 100644
--- a/manifest.dhall
+++ b/manifest.dhall
@@ -607,6 +607,7 @@ in  [ callHackage "Cabal" "3.8.1.0"
     , callHackage "quickcheck-dynamic" "2.0.0"
     , callHackage "quickcheck-instances" "0.3.28"
     , callHackage "quickcheck-io" "0.2.0"
+    , callHackage "quickcheck-text" "0.1.2.1"
     , callHackage "quickcheck-unicode" "1.0.1.0"
     , callHackage "random-bytestring" "0.1.4"
     , callHackage "random-shuffle" "0.0.4"
diff --git a/overlay.nix b/overlay.nix
index 99fc6f70..35d5c98b 100644
--- a/overlay.nix
+++ b/overlay.nix
@@ -939,6 +939,8 @@ self: with pkgs.haskell.lib; {
 
   quickcheck-io = self.callPackage (./pkgs/quickcheck-io.nix) { };
 
+  quickcheck-text = self.callPackage (./pkgs/quickcheck-text.nix) { };
+
   quickcheck-unicode = self.callPackage (./pkgs/quickcheck-unicode.nix) { };
 
   random = self.callPackage (./pkgs/random.nix) { };
diff --git a/pkgs/quickcheck-text.nix b/pkgs/quickcheck-text.nix
new file mode 100644
index 00000000..0c439d47
--- /dev/null
+++ b/pkgs/quickcheck-text.nix
@@ -0,0 +1,22 @@
+{ mkDerivation, base, binary, bytestring, lib, QuickCheck, text }:
+mkDerivation {
+  pname = "quickcheck-text";
+  version = "0.1.2.1";
+  sha256 = "4442fdb8ae6cd469c04957d34fee46039c9dc0ddce23ce6050babe6826d0ab09";
+  isLibrary = true;
+  isExecutable = false;
+  enableSeparateDataOutput = false;
+  libraryHaskellDepends = [ base binary bytestring QuickCheck text ];
+  testHaskellDepends = [ base bytestring QuickCheck text ];
+  enableLibraryProfiling = false;
+  enableExecutableProfiling = false;
+  doHaddock = false;
+  jailbreak = true;
+  doCheck = false;
+  doBenchmark = false;
+  hyperlinkSource = false;
+  homepage = "https://github.com/olorin/quickcheck-text";
+  description = "Alternative arbitrary instance for Text";
+  license = lib.licenses.mit;
+  broken = false;
+}
-- 
GitLab