From 3f226dbdedfdb163c1f78d6015df0cc48c1854e8 Mon Sep 17 00:00:00 2001
From: Daniel Firth <dan.firth@homotopic.tech>
Date: Mon, 7 Nov 2022 12:14:59 +0000
Subject: [PATCH] freer-simple: init at 1.2.1.2

---
 manifest.dhall        |  1 +
 overlay.nix           |  2 ++
 pkgs/freer-simple.nix | 56 +++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 59 insertions(+)
 create mode 100644 pkgs/freer-simple.nix

diff --git a/manifest.dhall b/manifest.dhall
index e15b9b44..9912cde5 100644
--- a/manifest.dhall
+++ b/manifest.dhall
@@ -278,6 +278,7 @@ in  [ callHackage "Cabal" "3.8.1.0"
     , callHackage "foreign-store" "0.2"
     , callHackage "foundation" "0.0.29"
     , callHackage "free" "5.1.9"
+    , callHackage "freer-simple" "1.2.1.2"
     , callHackage "friendly-time" "0.4.1"
     , callHackage "fsnotify" "0.4.1.0"
     , callHackage "fuzzy-time" "0.2.0.3"
diff --git a/overlay.nix b/overlay.nix
index 95ecb1ac..984c60b5 100644
--- a/overlay.nix
+++ b/overlay.nix
@@ -369,6 +369,8 @@ self: with pkgs.haskell.lib; {
 
   free = self.callPackage (./pkgs/free.nix) { };
 
+  freer-simple = self.callPackage (./pkgs/freer-simple.nix) { };
+
   friendly-time = self.callPackage (./pkgs/friendly-time.nix) { };
 
   fsnotify = self.callPackage (./pkgs/fsnotify.nix) { };
diff --git a/pkgs/freer-simple.nix b/pkgs/freer-simple.nix
new file mode 100644
index 00000000..5279d99a
--- /dev/null
+++ b/pkgs/freer-simple.nix
@@ -0,0 +1,56 @@
+{ mkDerivation
+, base
+, criterion
+, extensible-effects
+, free
+, lib
+, mtl
+, natural-transformation
+, QuickCheck
+, tasty
+, tasty-hunit
+, tasty-quickcheck
+, template-haskell
+, transformers-base
+}:
+mkDerivation {
+  pname = "freer-simple";
+  version = "1.2.1.2";
+  sha256 = "9c02bb4930ef245525e6ff8b548f77814c0b69acdecc48e100acab3b9b73d787";
+  isLibrary = true;
+  isExecutable = true;
+  enableSeparateDataOutput = false;
+  libraryHaskellDepends = [
+    base
+    natural-transformation
+    template-haskell
+    transformers-base
+  ];
+  executableHaskellDepends = [ base ];
+  testHaskellDepends = [
+    base
+    QuickCheck
+    tasty
+    tasty-hunit
+    tasty-quickcheck
+  ];
+  benchmarkHaskellDepends = [
+    base
+    criterion
+    extensible-effects
+    free
+    mtl
+  ];
+  enableLibraryProfiling = false;
+  enableExecutableProfiling = false;
+  doHaddock = false;
+  jailbreak = true;
+  doCheck = false;
+  doBenchmark = false;
+  hyperlinkSource = false;
+  homepage = "https://github.com/lexi-lambda/freer-simple";
+  description = "A friendly effect system for Haskell";
+  license = lib.licenses.bsd3;
+  mainProgram = "freer-simple-examples";
+  broken = false;
+}
-- 
GitLab