From d8cc38baf658fc44cbc9720e626590c54c8e08db Mon Sep 17 00:00:00 2001
From: Daniel Firth <dan.firth@homotopic.tech>
Date: Sun, 6 Nov 2022 21:24:50 +0000
Subject: [PATCH] th-abstraction: init at 0.4.5.0

---
 manifest.dhall          |  1 +
 overlay.nix             |  2 ++
 pkgs/th-abstraction.nix | 33 +++++++++++++++++++++++++++++++++
 3 files changed, 36 insertions(+)
 create mode 100644 pkgs/th-abstraction.nix

diff --git a/manifest.dhall b/manifest.dhall
index 999f4662..86e54afe 100644
--- a/manifest.dhall
+++ b/manifest.dhall
@@ -622,6 +622,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-abstraction" "0.4.5.0"
     , callHackage "th-env" "0.1.1"
     , callHackage "th-expand-syns" "0.4.10.0"
     , callHackage "th-extras" "0.0.0.6"
diff --git a/overlay.nix b/overlay.nix
index b41bb73d..9d406010 100644
--- a/overlay.nix
+++ b/overlay.nix
@@ -879,6 +879,8 @@ self: with pkgs.haskell.lib; {
 
   tf-random = self.callPackage (./pkgs/tf-random.nix) { };
 
+  th-abstraction = self.callPackage (./pkgs/th-abstraction.nix) { };
+
   th-env = self.callPackage (./pkgs/th-env.nix) { };
 
   th-expand-syns = self.callPackage (./pkgs/th-expand-syns.nix) { };
diff --git a/pkgs/th-abstraction.nix b/pkgs/th-abstraction.nix
new file mode 100644
index 00000000..5631e4f4
--- /dev/null
+++ b/pkgs/th-abstraction.nix
@@ -0,0 +1,33 @@
+{ mkDerivation
+, base
+, containers
+, ghc-prim
+, lib
+, template-haskell
+}:
+mkDerivation {
+  pname = "th-abstraction";
+  version = "0.4.5.0";
+  sha256 = "00d5e24f247e328bd9898d5af5915c1e86b134b4d40baa680258635f95031526";
+  isLibrary = true;
+  isExecutable = false;
+  enableSeparateDataOutput = false;
+  libraryHaskellDepends = [
+    base
+    containers
+    ghc-prim
+    template-haskell
+  ];
+  testHaskellDepends = [ base containers template-haskell ];
+  enableLibraryProfiling = false;
+  enableExecutableProfiling = false;
+  doHaddock = false;
+  jailbreak = true;
+  doCheck = false;
+  doBenchmark = false;
+  hyperlinkSource = false;
+  homepage = "https://github.com/glguy/th-abstraction";
+  description = "Nicer interface for reified information about data types";
+  license = lib.licenses.isc;
+  broken = false;
+}
-- 
GitLab