From c898831c4ba17081e22aa3f57df7dbe4b5c625b7 Mon Sep 17 00:00:00 2001
From: Daniel Firth <dan.firth@homotopic.tech>
Date: Mon, 7 Nov 2022 11:16:38 +0000
Subject: [PATCH] tasty-silver: init at 3.3.1.1

---
 manifest.dhall        |  1 +
 overlay.nix           |  2 ++
 pkgs/tasty-silver.nix | 76 +++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 79 insertions(+)
 create mode 100644 pkgs/tasty-silver.nix

diff --git a/manifest.dhall b/manifest.dhall
index d9e3864a..d711fb3b 100644
--- a/manifest.dhall
+++ b/manifest.dhall
@@ -641,6 +641,7 @@ in  [ callHackage "Cabal" "3.8.1.0"
         (Some "hunit")
     , callHackage "tasty-kat" "0.0.3"
     , callHackage "tasty-lua" "1.0.2"
+    , callHackage "tasty-silver" "3.3.1.1"
     , callHackage "tasty-smallcheck" "0.8.2"
     , callHackage "tasty-quickcheck" "0.10.2"
     , callHackage "tasty-wai" "0.1.2.0"
diff --git a/overlay.nix b/overlay.nix
index 320419db..14c5c435 100644
--- a/overlay.nix
+++ b/overlay.nix
@@ -935,6 +935,8 @@ self: with pkgs.haskell.lib; {
 
   tasty-quickcheck = self.callPackage (./pkgs/tasty-quickcheck.nix) { };
 
+  tasty-silver = self.callPackage (./pkgs/tasty-silver.nix) { };
+
   tasty-smallcheck = self.callPackage (./pkgs/tasty-smallcheck.nix) { };
 
   tasty-wai = self.callPackage (./pkgs/tasty-wai.nix) { };
diff --git a/pkgs/tasty-silver.nix b/pkgs/tasty-silver.nix
new file mode 100644
index 00000000..9c524e0b
--- /dev/null
+++ b/pkgs/tasty-silver.nix
@@ -0,0 +1,76 @@
+{ mkDerivation
+, ansi-terminal
+, async
+, base
+, bytestring
+, containers
+, deepseq
+, directory
+, filepath
+, lib
+, mtl
+, optparse-applicative
+, process
+, process-extras
+, regex-tdfa
+, silently
+, stm
+, tagged
+, tasty
+, tasty-hunit
+, temporary
+, text
+, transformers
+}:
+mkDerivation {
+  pname = "tasty-silver";
+  version = "3.3.1.1";
+  sha256 = "35fde58705e5041671fd1009c1fa79823ffdd60bca326b054e5bc6c880fe408e";
+  isLibrary = true;
+  isExecutable = false;
+  enableSeparateDataOutput = false;
+  libraryHaskellDepends = [
+    ansi-terminal
+    async
+    base
+    bytestring
+    containers
+    deepseq
+    directory
+    filepath
+    mtl
+    optparse-applicative
+    process
+    process-extras
+    regex-tdfa
+    silently
+    stm
+    tagged
+    tasty
+    temporary
+    text
+    transformers
+  ];
+  testHaskellDepends = [
+    base
+    directory
+    filepath
+    process
+    silently
+    tasty
+    tasty-hunit
+    temporary
+    transformers
+  ];
+  enableLibraryProfiling = false;
+  enableExecutableProfiling = false;
+  doHaddock = false;
+  jailbreak = true;
+  doCheck = false;
+  doBenchmark = false;
+  hyperlinkSource = false;
+  homepage = "https://github.com/phile314/tasty-silver";
+  description = "A fancy test runner, including support for golden tests";
+  license = lib.licenses.mit;
+  broken = false;
+}
-- 
GitLab