From 820890701cea672e924742e2292901e63840d724 Mon Sep 17 00:00:00 2001
From: Daniel Firth <dan.firth@homotopic.tech>
Date: Fri, 2 Dec 2022 11:07:17 +0000
Subject: [PATCH] show-combinators: init at 0.2.0.0

---
 horizon.dhall             |  1 +
 overlay.nix               |  2 ++
 pkgs/show-combinators.nix | 24 ++++++++++++++++++++++++
 3 files changed, 27 insertions(+)
 create mode 100644 pkgs/show-combinators.nix

diff --git a/horizon.dhall b/horizon.dhall
index ed8dd5b..a4d43a5 100644
--- a/horizon.dhall
+++ b/horizon.dhall
@@ -305,6 +305,7 @@ let otherLibraries =
       , H.callHackage "say" "0.1.0.1"
       , H.callHackage "servant-openapi3" "2.0.1.5"
       , callCardanoLedger "set-algebra" "libs/set-algebra"
+      , H.callHackage "show-combinators" "0.2.0.0"
       , H.callHackage "singletons-th" "3.1.1"
       , H.callHackage "size-based" "0.1.3.1"
       , callCardanoLedger "small-steps" "libs/small-steps"
diff --git a/overlay.nix b/overlay.nix
index 93ea317..25f7ba4 100644
--- a/overlay.nix
+++ b/overlay.nix
@@ -295,6 +295,8 @@ final: prev: with pkgs.haskell.lib; {
 
   set-algebra = final.callPackage (./pkgs/set-algebra.nix) { };
 
+  show-combinators = final.callPackage (./pkgs/show-combinators.nix) { };
+
   singletons-th = final.callPackage (./pkgs/singletons-th.nix) { };
 
   size-based = final.callPackage (./pkgs/size-based.nix) { };
diff --git a/pkgs/show-combinators.nix b/pkgs/show-combinators.nix
new file mode 100644
index 0000000..000bdaf
--- /dev/null
+++ b/pkgs/show-combinators.nix
@@ -0,0 +1,24 @@
+{ mkDerivation, base, lib }:
+mkDerivation {
+  pname = "show-combinators";
+  version = "0.2.0.0";
+  sha256 = "c902dbaf0e9cf7056d786d44fbdea2781bc65524089639242c2624dae841ba1d";
+  revision = "2";
+  editedCabalFile = "0n3xlpm41wpw1ybmacg9s7150nx00qrdlw2rq4fzz7iw7333cyjx";
+  isLibrary = true;
+  isExecutable = false;
+  enableSeparateDataOutput = false;
+  libraryHaskellDepends = [ base ];
+  testHaskellDepends = [ base ];
+  enableLibraryProfiling = true;
+  enableExecutableProfiling = true;
+  doHaddock = false;
+  jailbreak = true;
+  doCheck = false;
+  doBenchmark = false;
+  hyperlinkSource = false;
+  homepage = "https://github.com/Lysxia/show-combinators#readme";
+  description = "Combinators to write Show instances";
+  license = lib.licenses.mit;
+  broken = false;
+}
-- 
GitLab