From 81f5e82b5b7f5d57768d8f8f47a12c8f8e1c665a Mon Sep 17 00:00:00 2001
From: Daniel Firth <dan.firth@homotopic.tech>
Date: Sat, 5 Nov 2022 12:38:49 +0000
Subject: [PATCH] th-expand-syns: init at 0.4.10.0

---
 manifest.dhall          |  1 +
 overlay.nix             |  2 ++
 pkgs/th-expand-syns.nix | 35 +++++++++++++++++++++++++++++++++++
 3 files changed, 38 insertions(+)
 create mode 100644 pkgs/th-expand-syns.nix

diff --git a/manifest.dhall b/manifest.dhall
index 42392d91..14fa3a50 100644
--- a/manifest.dhall
+++ b/manifest.dhall
@@ -573,6 +573,7 @@ in  [ callHackage "Cabal" "3.8.1.0"
     , callHackage "these" "1.1.1.1"
     , callHackage "these-skinny" "0.7.5"
     , callHackage "tf-random" "0.5"
+    , callHackage "th-expand-syns" "0.4.10.0"
     , callHackage "th-extras" "0.0.0.6"
     , callHackage "th-lift-instances" "0.1.20"
     , callHackage "tidal" "1.8.1"
diff --git a/overlay.nix b/overlay.nix
index 2c4192be..a8e2d24c 100644
--- a/overlay.nix
+++ b/overlay.nix
@@ -773,6 +773,8 @@ final: prev: with pkgs.haskell.lib; {
 
   tf-random = prev.callPackage (./pkgs/tf-random.nix) { };
 
+  th-expand-syns = prev.callPackage (./pkgs/th-expand-syns.nix) { };
+
   th-extras = prev.callPackage (./pkgs/th-extras.nix) { };
 
   th-lift-instances = prev.callPackage (./pkgs/th-lift-instances.nix) { };
diff --git a/pkgs/th-expand-syns.nix b/pkgs/th-expand-syns.nix
new file mode 100644
index 00000000..9d703459
--- /dev/null
+++ b/pkgs/th-expand-syns.nix
@@ -0,0 +1,35 @@
+{ mkDerivation
+, base
+, containers
+, lib
+, syb
+, template-haskell
+, th-abstraction
+}:
+mkDerivation {
+  pname = "th-expand-syns";
+  version = "0.4.10.0";
+  sha256 = "f5455844e27578cf937c2eb670f15f6c10a45c29b2599e32bf308245360c9010";
+  isLibrary = true;
+  isExecutable = false;
+  enableSeparateDataOutput = false;
+  libraryHaskellDepends = [
+    base
+    containers
+    syb
+    template-haskell
+    th-abstraction
+  ];
+  testHaskellDepends = [ base template-haskell th-abstraction ];
+  enableLibraryProfiling = false;
+  enableExecutableProfiling = false;
+  doHaddock = false;
+  jailbreak = true;
+  doCheck = false;
+  doBenchmark = false;
+  hyperlinkSource = false;
+  homepage = "https://github.com/DanielSchuessler/th-expand-syns";
+  description = "Expands type synonyms in Template Haskell ASTs";
+  license = lib.licenses.bsd3;
+  broken = false;
+}
-- 
GitLab