From b8668219ab39d1360c0da772760a4a748c9b0fb1 Mon Sep 17 00:00:00 2001
From: Daniel Firth <dan.firth@homotopic.tech>
Date: Sat, 5 Nov 2022 11:52:22 +0000
Subject: [PATCH] reflection: init at 2.1.6

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

diff --git a/manifest.dhall b/manifest.dhall
index f6785bde..e7abfcf0 100644
--- a/manifest.dhall
+++ b/manifest.dhall
@@ -432,6 +432,7 @@ in  [ callHackage "Cabal" "3.8.1.0"
     , callHackage "quickcheck-instances" "0.3.28"
     , callHackage "rebase" "1.16"
     , callHackage "refined" "0.8"
+    , callHackage "reflection" "2.1.6"
     , callHackage "resource-pool" "0.3.1.0"
     , callHackage "resourcet" "1.3.0"
     , callHackage "rerebase" "1.15.0.3"
diff --git a/overlay.nix b/overlay.nix
index a710f05c..89025c61 100644
--- a/overlay.nix
+++ b/overlay.nix
@@ -569,6 +569,8 @@ final: prev: with pkgs.haskell.lib; {
 
   refined = prev.callPackage (./pkgs/refined.nix) { };
 
+  reflection = prev.callPackage (./pkgs/reflection.nix) { };
+
   relude = prev.callPackage (./pkgs/relude.nix) { };
 
   rere = prev.callPackage (./pkgs/rere.nix) { };
diff --git a/pkgs/reflection.nix b/pkgs/reflection.nix
new file mode 100644
index 00000000..92577d31
--- /dev/null
+++ b/pkgs/reflection.nix
@@ -0,0 +1,33 @@
+{ mkDerivation
+, base
+, containers
+, hspec
+, hspec-discover
+, lib
+, QuickCheck
+, template-haskell
+}:
+mkDerivation {
+  pname = "reflection";
+  version = "2.1.6";
+  sha256 = "bf3e14917ebb329a53701a3cce0afe670f20037a0148dbfa5cbfa574ed6ba6cd";
+  revision = "1";
+  editedCabalFile = "1bnpkfmagii4mc8258yjy4f4lykflmljkqcifnxpfqv99bszw6pl";
+  isLibrary = true;
+  isExecutable = false;
+  enableSeparateDataOutput = false;
+  libraryHaskellDepends = [ base template-haskell ];
+  testHaskellDepends = [ base containers hspec QuickCheck ];
+  testToolDepends = [ hspec-discover ];
+  enableLibraryProfiling = false;
+  enableExecutableProfiling = false;
+  doHaddock = false;
+  jailbreak = true;
+  doCheck = false;
+  doBenchmark = false;
+  hyperlinkSource = false;
+  homepage = "http://github.com/ekmett/reflection";
+  description = "Reifies arbitrary terms into types that can be reflected back into terms";
+  license = lib.licenses.bsd3;
+  broken = false;
+}
-- 
GitLab