From f6826d9061ad0e69df30443bdfdddde74b4eb6e8 Mon Sep 17 00:00:00 2001
From: Daniel Firth <dan.firth@homotopic.tech>
Date: Mon, 7 Nov 2022 18:26:08 +0000
Subject: [PATCH] formatting: init at 7.1.3

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

diff --git a/manifest.dhall b/manifest.dhall
index 11d7892a..2f5efaad 100644
--- a/manifest.dhall
+++ b/manifest.dhall
@@ -290,6 +290,7 @@ in  [ callHackage "Cabal" "3.8.1.0"
     , callHackage "fixed" "0.3"
     , callHackage "foldl" "1.4.12"
     , callHackage "foreign-store" "0.2"
+    , callHackage "formatting" "7.1.3"
     , callHackage "foundation" "0.0.29"
     , callHackage "free" "5.1.9"
     , callHackage "freer-simple" "1.2.1.2"
diff --git a/overlay.nix b/overlay.nix
index 6e1a8ace..99fc6f70 100644
--- a/overlay.nix
+++ b/overlay.nix
@@ -393,6 +393,8 @@ self: with pkgs.haskell.lib; {
 
   foreign-store = self.callPackage (./pkgs/foreign-store.nix) { };
 
+  formatting = self.callPackage (./pkgs/formatting.nix) { };
+
   foundation = self.callPackage (./pkgs/foundation.nix) { };
 
   free = self.callPackage (./pkgs/free.nix) { };
diff --git a/pkgs/formatting.nix b/pkgs/formatting.nix
new file mode 100644
index 00000000..f3c18de4
--- /dev/null
+++ b/pkgs/formatting.nix
@@ -0,0 +1,55 @@
+{ mkDerivation
+, base
+, clock
+, criterion
+, double-conversion
+, ghc-prim
+, hspec
+, lib
+, old-locale
+, QuickCheck
+, scientific
+, text
+, time
+, transformers
+}:
+mkDerivation {
+  pname = "formatting";
+  version = "7.1.3";
+  sha256 = "8061bbe29278e6b7bb2268b00e1717385643dfa04e7b58b012bd53b342142cef";
+  revision = "2";
+  editedCabalFile = "1i3qkhxqhvqd7mqfdc1mbizw1fin7vp4dwzayc2y0sqcbg7kkns7";
+  isLibrary = true;
+  isExecutable = false;
+  enableSeparateDataOutput = false;
+  libraryHaskellDepends = [
+    base
+    clock
+    double-conversion
+    ghc-prim
+    old-locale
+    scientific
+    text
+    time
+    transformers
+  ];
+  testHaskellDepends = [ base ghc-prim hspec scientific text ];
+  benchmarkHaskellDepends = [
+    base
+    criterion
+    ghc-prim
+    QuickCheck
+    text
+  ];
+  enableLibraryProfiling = false;
+  enableExecutableProfiling = false;
+  doHaddock = false;
+  jailbreak = true;
+  doCheck = false;
+  doBenchmark = false;
+  hyperlinkSource = false;
+  homepage = "https://github.com/AJChapman/formatting#readme";
+  description = "Combinator-based type-safe formatting (like printf() or FORMAT)";
+  license = lib.licenses.bsd3;
+  broken = false;
+}
-- 
GitLab