From b3e177d592f1e4ee1da8ee8376df9ca2f61a7d64 Mon Sep 17 00:00:00 2001
From: Daniel Firth <dan.firth@homotopic.tech>
Date: Sat, 5 Nov 2022 12:51:00 +0000
Subject: [PATCH] log-base: init at 0.12.0.0

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

diff --git a/manifest.dhall b/manifest.dhall
index f2458476..c822bf7d 100644
--- a/manifest.dhall
+++ b/manifest.dhall
@@ -354,6 +354,7 @@ in  [ callHackage "Cabal" "3.8.1.0"
     , callHackage "lifted-async" "0.10.2.1"
     , callHackage "lifted-base" "0.2.3.12"
     , callHackage "linear" "1.21.10"
+    , callHackage "log-base" "0.12.0.0"
     , callCabal2nix
         "log-effectful"
         "https://github.com/haskell-effectful/log-effectful/"
diff --git a/overlay.nix b/overlay.nix
index b00bad5c..d1df280a 100644
--- a/overlay.nix
+++ b/overlay.nix
@@ -445,6 +445,8 @@ final: prev: with pkgs.haskell.lib; {
 
   linear = prev.callPackage (./pkgs/linear.nix) { };
 
+  log-base = prev.callPackage (./pkgs/log-base.nix) { };
+
   log-effectful = prev.callPackage (./pkgs/log-effectful.nix) { };
 
   lpeg = prev.callPackage (./pkgs/lpeg.nix) { };
diff --git a/pkgs/log-base.nix b/pkgs/log-base.nix
new file mode 100644
index 00000000..53c19bd0
--- /dev/null
+++ b/pkgs/log-base.nix
@@ -0,0 +1,56 @@
+{ mkDerivation
+, aeson
+, aeson-pretty
+, base
+, bytestring
+, deepseq
+, exceptions
+, lib
+, mmorph
+, monad-control
+, mtl
+, semigroups
+, stm
+, text
+, time
+, transformers-base
+, unliftio-core
+, unordered-containers
+}:
+mkDerivation {
+  pname = "log-base";
+  version = "0.12.0.0";
+  sha256 = "4f6735d4daeec234b32480cea9bddbc5952fdeba73f2ee88c06698eb2136c47c";
+  isLibrary = true;
+  isExecutable = false;
+  enableSeparateDataOutput = false;
+  libraryHaskellDepends = [
+    aeson
+    aeson-pretty
+    base
+    bytestring
+    deepseq
+    exceptions
+    mmorph
+    monad-control
+    mtl
+    semigroups
+    stm
+    text
+    time
+    transformers-base
+    unliftio-core
+    unordered-containers
+  ];
+  enableLibraryProfiling = false;
+  enableExecutableProfiling = false;
+  doHaddock = false;
+  jailbreak = true;
+  doCheck = false;
+  doBenchmark = false;
+  hyperlinkSource = false;
+  homepage = "https://github.com/scrive/log";
+  description = "Structured logging solution (base package)";
+  license = lib.licenses.bsd3;
+  broken = false;
+}
-- 
GitLab