From 0053279cc7cfdae07afd975ece9d9a74969349d8 Mon Sep 17 00:00:00 2001
From: Daniel Firth <dan.firth@homotopic.tech>
Date: Sat, 5 Nov 2022 08:23:15 +0000
Subject: [PATCH] test-framework: init at 0.8.2.0

---
 manifest.dhall          |  1 +
 overlay.nix             |  2 ++
 pkgs/test-framework.nix | 68 +++++++++++++++++++++++++++++++++++++++++
 3 files changed, 71 insertions(+)
 create mode 100644 pkgs/test-framework.nix

diff --git a/manifest.dhall b/manifest.dhall
index 485dc9fb..ff77d5ff 100644
--- a/manifest.dhall
+++ b/manifest.dhall
@@ -464,6 +464,7 @@ in  [ callHackage "Cabal" "3.8.1.0"
         (None Text)
         (Some "hunit")
     , callHackage "tasty-wai" "0.1.2.0"
+    , callHackage "test-framework" "0.8.2.0"
     , callHackage "text-display" "0.0.3.0"
     , callHackage "text-metrics" "0.3.2"
     , callHackage "text-zipper" "0.12"
diff --git a/overlay.nix b/overlay.nix
index 6356c58d..d52dc03b 100644
--- a/overlay.nix
+++ b/overlay.nix
@@ -561,6 +561,8 @@ final: prev: with pkgs.haskell.lib; {
 
   tasty-wai = prev.callPackage (./pkgs/tasty-wai.nix) { };
 
+  test-framework = prev.callPackage (./pkgs/test-framework.nix) { };
+
   text-display = prev.callPackage (./pkgs/text-display.nix) { };
 
   text-metrics = prev.callPackage (./pkgs/text-metrics.nix) { };
diff --git a/pkgs/test-framework.nix b/pkgs/test-framework.nix
new file mode 100644
index 00000000..f908585f
--- /dev/null
+++ b/pkgs/test-framework.nix
@@ -0,0 +1,68 @@
+{ mkDerivation
+, ansi-terminal
+, ansi-wl-pprint
+, base
+, bytestring
+, containers
+, hostname
+, HUnit
+, lib
+, libxml
+, old-locale
+, QuickCheck
+, random
+, regex-posix
+, semigroups
+, time
+, xml
+}:
+mkDerivation {
+  pname = "test-framework";
+  version = "0.8.2.0";
+  sha256 = "f5aec7a15dbcb39e951bcf6502606fd99d751197b5510f41706899aa7e660ac2";
+  revision = "8";
+  editedCabalFile = "1sal1qqvc8c1rvsqz292bniy1kr5rx6ll7z9chwsz6j2ncw5sgmg";
+  isLibrary = true;
+  isExecutable = false;
+  enableSeparateDataOutput = false;
+  libraryHaskellDepends = [
+    ansi-terminal
+    ansi-wl-pprint
+    base
+    containers
+    hostname
+    old-locale
+    random
+    regex-posix
+    time
+    xml
+  ];
+  testHaskellDepends = [
+    ansi-terminal
+    ansi-wl-pprint
+    base
+    bytestring
+    containers
+    hostname
+    HUnit
+    libxml
+    old-locale
+    QuickCheck
+    random
+    regex-posix
+    semigroups
+    time
+    xml
+  ];
+  enableLibraryProfiling = false;
+  enableExecutableProfiling = false;
+  doHaddock = false;
+  jailbreak = true;
+  doCheck = false;
+  doBenchmark = false;
+  hyperlinkSource = false;
+  homepage = "http://haskell.github.io/test-framework/";
+  description = "Framework for running and organising tests, with HUnit and QuickCheck support";
+  license = lib.licenses.bsd3;
+  broken = false;
+}
-- 
GitLab