From 0e4f52e2d26e42061d939bf15340cf0b4cf0f6bc Mon Sep 17 00:00:00 2001
From: Daniel Firth <dan.firth@homotopic.tech>
Date: Sun, 6 Nov 2022 21:27:18 +0000
Subject: [PATCH] tasty-bench: init at 0.3.2

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

diff --git a/manifest.dhall b/manifest.dhall
index 2312d8e4..fa91335d 100644
--- a/manifest.dhall
+++ b/manifest.dhall
@@ -593,6 +593,7 @@ in  [ callHackage "Cabal" "3.8.1.0"
         "https://github.com/UnkindPartition/tasty"
         (None Text)
         (Some "core")
+    , callHackage "tasty-bench" "0.3.2"
     , callHackage "tasty-discover" "5.0.0"
     , callHackage "tasty-expected-failure" "0.12.3"
     , callCabal2nix
diff --git a/overlay.nix b/overlay.nix
index 5579e196..9111bd20 100644
--- a/overlay.nix
+++ b/overlay.nix
@@ -841,6 +841,8 @@ self: with pkgs.haskell.lib; {
 
   tasty = self.callPackage (./pkgs/tasty.nix) { };
 
+  tasty-bench = self.callPackage (./pkgs/tasty-bench.nix) { };
+
   tasty-discover = self.callPackage (./pkgs/tasty-discover.nix) { };
 
   tasty-expected-failure = self.callPackage (./pkgs/tasty-expected-failure.nix) { };
diff --git a/pkgs/tasty-bench.nix b/pkgs/tasty-bench.nix
new file mode 100644
index 00000000..1f54c462
--- /dev/null
+++ b/pkgs/tasty-bench.nix
@@ -0,0 +1,22 @@
+{ mkDerivation, base, containers, deepseq, lib, tasty }:
+mkDerivation {
+  pname = "tasty-bench";
+  version = "0.3.2";
+  sha256 = "c83a3d3c37bb652274d062857616a9d1871031e624f5f7139e1cbbf1f47b2249";
+  isLibrary = true;
+  isExecutable = false;
+  enableSeparateDataOutput = false;
+  libraryHaskellDepends = [ base containers deepseq tasty ];
+  benchmarkHaskellDepends = [ base ];
+  enableLibraryProfiling = false;
+  enableExecutableProfiling = false;
+  doHaddock = false;
+  jailbreak = true;
+  doCheck = false;
+  doBenchmark = false;
+  hyperlinkSource = false;
+  homepage = "https://github.com/Bodigrim/tasty-bench";
+  description = "Featherlight benchmark framework";
+  license = lib.licenses.mit;
+  broken = false;
+}
-- 
GitLab