From 81b30afd5c36cae6b24ea4b67bf1955492d87c8e Mon Sep 17 00:00:00 2001
From: Daniel Firth <dan.firth@homotopic.tech>
Date: Sat, 5 Nov 2022 09:15:52 +0000
Subject: [PATCH] pandoc-types: init at 1.22.2.1

---
 manifest.dhall        |  1 +
 overlay.nix           |  2 ++
 pkgs/pandoc-types.nix | 65 +++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 68 insertions(+)
 create mode 100644 pkgs/pandoc-types.nix

diff --git a/manifest.dhall b/manifest.dhall
index 7fade796..b56ee6b9 100644
--- a/manifest.dhall
+++ b/manifest.dhall
@@ -359,6 +359,7 @@ in  [ callHackage "Cabal" "3.8.1.0"
     , callHackage "optics-th" "0.4.1"
     , callHackage "optics" "0.4.2"
     , callHackage "optparse-applicative" "0.17.0.0"
+    , callHackage "pandoc-types" "1.22.2.1"
     , callHackage "pandoc" "2.19.2"
     , callHackage "parallel" "3.2.2.0"
     , callHackage "password-types" "1.0.0.0"
diff --git a/overlay.nix b/overlay.nix
index 7c8b211c..9551a2d9 100644
--- a/overlay.nix
+++ b/overlay.nix
@@ -443,6 +443,8 @@ final: prev: with pkgs.haskell.lib; {
 
   pandoc = prev.callPackage (./pkgs/pandoc.nix) { };
 
+  pandoc-types = prev.callPackage (./pkgs/pandoc-types.nix) { };
+
   parallel = prev.callPackage (./pkgs/parallel.nix) { };
 
   password = prev.callPackage (./pkgs/password.nix) { };
diff --git a/pkgs/pandoc-types.nix b/pkgs/pandoc-types.nix
new file mode 100644
index 00000000..6dc96491
--- /dev/null
+++ b/pkgs/pandoc-types.nix
@@ -0,0 +1,65 @@
+{ mkDerivation
+, aeson
+, base
+, bytestring
+, containers
+, criterion
+, deepseq
+, ghc-prim
+, HUnit
+, lib
+, QuickCheck
+, string-qq
+, syb
+, test-framework
+, test-framework-hunit
+, test-framework-quickcheck2
+, text
+, transformers
+}:
+mkDerivation {
+  pname = "pandoc-types";
+  version = "1.22.2.1";
+  sha256 = "4ce796129d67c73967bc0b301c7110bc7dbab7a53b4d1e147ba257991661659d";
+  isLibrary = true;
+  isExecutable = false;
+  enableSeparateDataOutput = false;
+  libraryHaskellDepends = [
+    aeson
+    base
+    bytestring
+    containers
+    deepseq
+    ghc-prim
+    QuickCheck
+    syb
+    text
+    transformers
+  ];
+  testHaskellDepends = [
+    aeson
+    base
+    bytestring
+    containers
+    HUnit
+    QuickCheck
+    string-qq
+    syb
+    test-framework
+    test-framework-hunit
+    test-framework-quickcheck2
+    text
+  ];
+  benchmarkHaskellDepends = [ base criterion text ];
+  enableLibraryProfiling = false;
+  enableExecutableProfiling = false;
+  doHaddock = false;
+  jailbreak = true;
+  doCheck = false;
+  doBenchmark = false;
+  hyperlinkSource = false;
+  homepage = "https://pandoc.org/";
+  description = "Types for representing a structured document";
+  license = lib.licenses.bsd3;
+  broken = false;
+}
-- 
GitLab