From ec25e344f3d28a43a3ffd98be7af608e3ebe246e Mon Sep 17 00:00:00 2001
From: Daniel Firth <dan.firth@homotopic.tech>
Date: Sat, 5 Nov 2022 09:56:27 +0000
Subject: [PATCH] free: init at 5.1.9

---
 manifest.dhall |  1 +
 overlay.nix    |  2 ++
 pkgs/free.nix  | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 55 insertions(+)
 create mode 100644 pkgs/free.nix

diff --git a/manifest.dhall b/manifest.dhall
index 4b38bf9d..64020417 100644
--- a/manifest.dhall
+++ b/manifest.dhall
@@ -199,6 +199,7 @@ in  [ callHackage "Cabal" "3.8.1.0"
     , callHackage "fcf-containers" "0.7.1"
     , callHackage "finite-field" "0.10.0"
     , callHackage "first-class-families" "0.8.0.1"
+    , callHackage "free" "5.1.9"
     , callHackage "fsnotify" "0.4.1.0"
     , callHackage "foldl" "1.4.12"
     , callHackage "foundation" "0.0.29"
diff --git a/overlay.nix b/overlay.nix
index ac2a8cd2..4134a036 100644
--- a/overlay.nix
+++ b/overlay.nix
@@ -205,6 +205,8 @@ final: prev: with pkgs.haskell.lib; {
 
   foundation = prev.callPackage (./pkgs/foundation.nix) { };
 
+  free = prev.callPackage (./pkgs/free.nix) { };
+
   fsnotify = prev.callPackage (./pkgs/fsnotify.nix) { };
 
   fuzzy-time = prev.callPackage (./pkgs/fuzzy-time.nix) { };
diff --git a/pkgs/free.nix b/pkgs/free.nix
new file mode 100644
index 00000000..6880ce61
--- /dev/null
+++ b/pkgs/free.nix
@@ -0,0 +1,52 @@
+{ mkDerivation
+, base
+, comonad
+, containers
+, distributive
+, exceptions
+, indexed-traversable
+, lib
+, mtl
+, profunctors
+, semigroupoids
+, template-haskell
+, th-abstraction
+, transformers
+, transformers-base
+}:
+mkDerivation {
+  pname = "free";
+  version = "5.1.9";
+  sha256 = "2e751309408550ebccc2708170ec8473eac1e35b4bc1016bee0776ac938e9fee";
+  revision = "1";
+  editedCabalFile = "133nycxnzy7sgp2vib8hpp2jgzm8pxp31ljf7b4v91jn1gqg3kpl";
+  isLibrary = true;
+  isExecutable = false;
+  enableSeparateDataOutput = false;
+  libraryHaskellDepends = [
+    base
+    comonad
+    containers
+    distributive
+    exceptions
+    indexed-traversable
+    mtl
+    profunctors
+    semigroupoids
+    template-haskell
+    th-abstraction
+    transformers
+    transformers-base
+  ];
+  enableLibraryProfiling = false;
+  enableExecutableProfiling = false;
+  doHaddock = false;
+  jailbreak = true;
+  doCheck = false;
+  doBenchmark = false;
+  hyperlinkSource = false;
+  homepage = "http://github.com/ekmett/free/";
+  description = "Monads for free";
+  license = lib.licenses.bsd3;
+  broken = false;
+}
-- 
GitLab