From e38eb3cadc10fe28cd0dd5572fd3b67db491b6fe Mon Sep 17 00:00:00 2001
From: Daniel Firth <dan.firth@homotopic.tech>
Date: Sat, 5 Nov 2022 09:35:29 +0000
Subject: [PATCH] doctemplates: init at 0.10.0.2

---
 manifest.dhall        |  1 +
 overlay.nix           |  2 ++
 pkgs/doctemplates.nix | 83 +++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 86 insertions(+)
 create mode 100644 pkgs/doctemplates.nix

diff --git a/manifest.dhall b/manifest.dhall
index ba1c56ae..63d51fba 100644
--- a/manifest.dhall
+++ b/manifest.dhall
@@ -171,6 +171,7 @@ in  [ callHackage "Cabal" "3.8.1.0"
         "https://github.com/sol/doctest"
         (Some "4eb97c213acf7abe965a3a1b67397199ed155f3c")
         (None Text)
+    , callHackage "doctemplates" "0.10.0.2"
     , callCabal2nix
         "double-conversion"
         "https://github.com/haskell/double-conversion"
diff --git a/overlay.nix b/overlay.nix
index 732a7680..465da688 100644
--- a/overlay.nix
+++ b/overlay.nix
@@ -167,6 +167,8 @@ final: prev: with pkgs.haskell.lib; {
 
   distribution-nixpkgs = prev.callPackage (./pkgs/distribution-nixpkgs.nix) { };
 
+  doctemplates = prev.callPackage (./pkgs/doctemplates.nix) { };
+
   doctest = prev.callPackage (./pkgs/doctest.nix) { };
 
   double-conversion = prev.callPackage (./pkgs/double-conversion.nix) { };
diff --git a/pkgs/doctemplates.nix b/pkgs/doctemplates.nix
new file mode 100644
index 00000000..8d221f29
--- /dev/null
+++ b/pkgs/doctemplates.nix
@@ -0,0 +1,83 @@
+{ mkDerivation
+, aeson
+, base
+, bytestring
+, containers
+, criterion
+, doclayout
+, filepath
+, Glob
+, HsYAML
+, lib
+, mtl
+, parsec
+, safe
+, scientific
+, tasty
+, tasty-golden
+, tasty-hunit
+, temporary
+, text
+, text-conversions
+, vector
+}:
+mkDerivation {
+  pname = "doctemplates";
+  version = "0.10.0.2";
+  sha256 = "a7749f36083c23ec72fa1a37c1ff72ab9ff470478be23686f80532d209d3402b";
+  revision = "1";
+  editedCabalFile = "17r6ig72bzqd59p11sjaf9y27pm4yig1a1s1igs57s88cy47qz05";
+  isLibrary = true;
+  isExecutable = false;
+  enableSeparateDataOutput = true;
+  libraryHaskellDepends = [
+    aeson
+    base
+    containers
+    doclayout
+    filepath
+    HsYAML
+    mtl
+    parsec
+    safe
+    scientific
+    text
+    text-conversions
+    vector
+  ];
+  testHaskellDepends = [
+    aeson
+    base
+    bytestring
+    containers
+    doclayout
+    filepath
+    Glob
+    tasty
+    tasty-golden
+    tasty-hunit
+    temporary
+    text
+  ];
+  benchmarkHaskellDepends = [
+    aeson
+    base
+    containers
+    criterion
+    doclayout
+    filepath
+    mtl
+    text
+  ];
+  enableLibraryProfiling = false;
+  enableExecutableProfiling = false;
+  doHaddock = false;
+  jailbreak = true;
+  doCheck = false;
+  doBenchmark = false;
+  hyperlinkSource = false;
+  homepage = "https://github.com/jgm/doctemplates#readme";
+  description = "Pandoc-style document templates";
+  license = lib.licenses.bsd3;
+  broken = false;
+}
-- 
GitLab