From 2f137ed96d88263e01084d427310f907d8c0bf9d Mon Sep 17 00:00:00 2001
From: Daniel Firth <dan.firth@homotopic.tech>
Date: Sat, 5 Nov 2022 08:29:31 +0000
Subject: [PATCH] test-framework-hunit: init at 0.3.0.2

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

diff --git a/manifest.dhall b/manifest.dhall
index 7c12b8cb..6e9b88a3 100644
--- a/manifest.dhall
+++ b/manifest.dhall
@@ -466,6 +466,7 @@ in  [ callHackage "Cabal" "3.8.1.0"
         (Some "hunit")
     , callHackage "tasty-wai" "0.1.2.0"
     , callHackage "test-framework" "0.8.2.0"
+    , callHackage "test-framework-hunit" "0.3.0.2"
     , 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 db0e48b6..da7095e8 100644
--- a/overlay.nix
+++ b/overlay.nix
@@ -565,6 +565,8 @@ final: prev: with pkgs.haskell.lib; {
 
   test-framework = prev.callPackage (./pkgs/test-framework.nix) { };
 
+  test-framework-hunit = prev.callPackage (./pkgs/test-framework-hunit.nix) { };
+
   text-display = prev.callPackage (./pkgs/text-display.nix) { };
 
   text-metrics = prev.callPackage (./pkgs/text-metrics.nix) { };
diff --git a/pkgs/test-framework-hunit.nix b/pkgs/test-framework-hunit.nix
new file mode 100644
index 00000000..c869cf6b
--- /dev/null
+++ b/pkgs/test-framework-hunit.nix
@@ -0,0 +1,34 @@
+{ mkDerivation
+, base
+, extensible-exceptions
+, HUnit
+, lib
+, test-framework
+}:
+mkDerivation {
+  pname = "test-framework-hunit";
+  version = "0.3.0.2";
+  sha256 = "95cb8ee02a850b164bfdabdf4dbc839d621361f3ac770ad21ea43a8bde360bf8";
+  revision = "3";
+  editedCabalFile = "0i9mlalv7cl1iq43ld5myrnpszq5rxmd79hk495dcb08rglhgl3z";
+  isLibrary = true;
+  isExecutable = false;
+  enableSeparateDataOutput = false;
+  libraryHaskellDepends = [
+    base
+    extensible-exceptions
+    HUnit
+    test-framework
+  ];
+  enableLibraryProfiling = false;
+  enableExecutableProfiling = false;
+  doHaddock = false;
+  jailbreak = true;
+  doCheck = false;
+  doBenchmark = false;
+  hyperlinkSource = false;
+  homepage = "https://batterseapower.github.io/test-framework/";
+  description = "HUnit support for the test-framework package";
+  license = lib.licenses.bsd3;
+  broken = false;
+}
-- 
GitLab