From 5adf73e83bb7d8c8cd122b20a5085892f23f0367 Mon Sep 17 00:00:00 2001
From: Daniel Firth <dan.firth@homotopic.tech>
Date: Mon, 7 Nov 2022 11:30:22 +0000
Subject: [PATCH] sandwich: init at 0.1.1.2

---
 manifest.dhall    |   1 +
 overlay.nix       |   2 +
 pkgs/sandwich.nix | 168 ++++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 171 insertions(+)
 create mode 100644 pkgs/sandwich.nix

diff --git a/manifest.dhall b/manifest.dhall
index 6728e8a6..c4db7358 100644
--- a/manifest.dhall
+++ b/manifest.dhall
@@ -548,6 +548,7 @@ in  [ callHackage "Cabal" "3.8.1.0"
     , callHackage "safe-coloured-text" "0.2.0.1"
     , callHackage "safe-exceptions" "0.1.7.3"
     , callHackage "saltine" "0.2.0.1"
+    , callHackage "sandwich" "0.1.1.2"
     , callHackage "scotty" "0.12"
     , callHackage "scientific" "0.3.7.0"
     , callHackage "sdl2" "2.5.3.3"
diff --git a/overlay.nix b/overlay.nix
index b535f38f..f85e3eff 100644
--- a/overlay.nix
+++ b/overlay.nix
@@ -821,6 +821,8 @@ self: with pkgs.haskell.lib; {
 
   saltine = self.callPackage (./pkgs/saltine.nix) { };
 
+  sandwich = self.callPackage (./pkgs/sandwich.nix) { };
+
   scientific = self.callPackage (./pkgs/scientific.nix) { };
 
   scotty = self.callPackage (./pkgs/scotty.nix) { };
diff --git a/pkgs/sandwich.nix b/pkgs/sandwich.nix
new file mode 100644
index 00000000..02628cf2
--- /dev/null
+++ b/pkgs/sandwich.nix
@@ -0,0 +1,168 @@
+{ mkDerivation
+, aeson
+, ansi-terminal
+, async
+, base
+, brick
+, bytestring
+, colour
+, containers
+, directory
+, exceptions
+, filepath
+, free
+, haskell-src-exts
+, lib
+, lifted-async
+, microlens
+, microlens-th
+, monad-control
+, monad-logger
+, mtl
+, optparse-applicative
+, pretty-show
+, process
+, safe
+, safe-exceptions
+, stm
+, string-interpolate
+, template-haskell
+, text
+, time
+, transformers
+, transformers-base
+, unix
+, unliftio-core
+, vector
+, vty
+}:
+mkDerivation {
+  pname = "sandwich";
+  version = "0.1.1.2";
+  sha256 = "b8b1dd82e8cc776ce35bba22d4285fe2ad50fb512f7555703f00f7b782608aba";
+  isLibrary = true;
+  isExecutable = true;
+  enableSeparateDataOutput = false;
+  libraryHaskellDepends = [
+    aeson
+    ansi-terminal
+    async
+    base
+    brick
+    bytestring
+    colour
+    containers
+    directory
+    exceptions
+    filepath
+    free
+    haskell-src-exts
+    lifted-async
+    microlens
+    microlens-th
+    monad-control
+    monad-logger
+    mtl
+    optparse-applicative
+    pretty-show
+    process
+    safe
+    safe-exceptions
+    stm
+    string-interpolate
+    template-haskell
+    text
+    time
+    transformers
+    transformers-base
+    unix
+    unliftio-core
+    vector
+    vty
+  ];
+  executableHaskellDepends = [
+    aeson
+    ansi-terminal
+    async
+    base
+    brick
+    bytestring
+    colour
+    containers
+    directory
+    exceptions
+    filepath
+    free
+    haskell-src-exts
+    lifted-async
+    microlens
+    microlens-th
+    monad-control
+    monad-logger
+    mtl
+    optparse-applicative
+    pretty-show
+    process
+    safe
+    safe-exceptions
+    stm
+    string-interpolate
+    template-haskell
+    text
+    time
+    transformers
+    transformers-base
+    unix
+    unliftio-core
+    vector
+    vty
+  ];
+  testHaskellDepends = [
+    aeson
+    ansi-terminal
+    async
+    base
+    brick
+    bytestring
+    colour
+    containers
+    directory
+    exceptions
+    filepath
+    free
+    haskell-src-exts
+    lifted-async
+    microlens
+    microlens-th
+    monad-control
+    monad-logger
+    mtl
+    optparse-applicative
+    pretty-show
+    process
+    safe
+    safe-exceptions
+    stm
+    string-interpolate
+    template-haskell
+    text
+    time
+    transformers
+    transformers-base
+    unix
+    unliftio-core
+    vector
+    vty
+  ];
+  enableLibraryProfiling = false;
+  enableExecutableProfiling = false;
+  doHaddock = false;
+  jailbreak = true;
+  doCheck = false;
+  doBenchmark = false;
+  hyperlinkSource = false;
+  homepage = "https://codedownio.github.io/sandwich";
+  description = "Yet another test framework for Haskell";
+  license = lib.licenses.bsd3;
+  broken = false;
+}
-- 
GitLab