From f72c43c0be557f910934b83d369123dcbfbc10e7 Mon Sep 17 00:00:00 2001
From: Daniel Firth <dan.firth@homotopic.tech>
Date: Wed, 11 Jan 2023 12:48:39 +0000
Subject: [PATCH] hedgehog-extras: init at 0.3.0.3

---
 horizon.dhall            |  1 +
 initial-packages.nix     |  2 ++
 pkgs/hedgehog-extras.nix | 71 ++++++++++++++++++++++++++++++++++++++++
 3 files changed, 74 insertions(+)
 create mode 100644 pkgs/hedgehog-extras.nix

diff --git a/horizon.dhall b/horizon.dhall
index f9f5694f..5e0ab565 100644
--- a/horizon.dhall
+++ b/horizon.dhall
@@ -441,6 +441,7 @@ let packages =
       , haskell-src-exts = H.callHackage "haskell-src-exts" "1.23.1"
       , haskell-src-meta = H.callHackage "haskell-src-meta" "0.8.11"
       , heaps = H.callHackage "heaps" "0.4"
+      , hedgehog-extras = H.callHackage "hedgehog-extras" "0.3.0.3"
       , hedgehog-fn = H.callHackage "hedgehog-fn" "1.0"
       , hedgehog-golden =
           H.callGit
diff --git a/initial-packages.nix b/initial-packages.nix
index fd0008b7..d76778b5 100644
--- a/initial-packages.nix
+++ b/initial-packages.nix
@@ -679,6 +679,8 @@ self: with pkgs.haskell.lib; {
 
   hedgehog = self.callPackage (./pkgs/hedgehog.nix) { };
 
+  hedgehog-extras = self.callPackage (./pkgs/hedgehog-extras.nix) { };
+
   hedgehog-fn = self.callPackage (./pkgs/hedgehog-fn.nix) { };
 
   hedgehog-golden = self.callPackage (./pkgs/hedgehog-golden.nix) { };
diff --git a/pkgs/hedgehog-extras.nix b/pkgs/hedgehog-extras.nix
new file mode 100644
index 00000000..05dfab49
--- /dev/null
+++ b/pkgs/hedgehog-extras.nix
@@ -0,0 +1,71 @@
+{ mkDerivation
+, aeson
+, aeson-pretty
+, async
+, base
+, bytestring
+, deepseq
+, directory
+, exceptions
+, filepath
+, hedgehog
+, hw-aeson
+, lib
+, mmorph
+, mtl
+, network
+, process
+, resourcet
+, stm
+, temporary
+, text
+, time
+, transformers
+, unliftio
+, unordered-containers
+, yaml
+}:
+mkDerivation {
+  pname = "hedgehog-extras";
+  version = "0.3.0.3";
+  sha256 = "ce307da4bc24f3d7a5ffe0a507f03f4c0b449a524149f8347d169285a68c3fcb";
+  isLibrary = true;
+  isExecutable = false;
+  enableSeparateDataOutput = false;
+  libraryHaskellDepends = [
+    aeson
+    aeson-pretty
+    async
+    base
+    bytestring
+    deepseq
+    directory
+    exceptions
+    filepath
+    hedgehog
+    hw-aeson
+    mmorph
+    mtl
+    network
+    process
+    resourcet
+    stm
+    temporary
+    text
+    time
+    transformers
+    unliftio
+    unordered-containers
+    yaml
+  ];
+  enableLibraryProfiling = true;
+  enableExecutableProfiling = true;
+  doHaddock = false;
+  jailbreak = true;
+  doCheck = false;
+  doBenchmark = false;
+  hyperlinkSource = false;
+  description = "Supplemental library for hedgehog";
+  license = lib.licenses.asl20;
+  broken = false;
+}
-- 
GitLab