From 7676ccb02238fee9c19ca9e940b5428d29e30ee1 Mon Sep 17 00:00:00 2001
From: Max Tomago <noreply@tomagotech.com>
Date: Fri, 18 Nov 2022 01:21:54 +0000
Subject: [PATCH] xmlgen: init at 0.6.2.2

---
 manifest.dhall  |  1 +
 overlay.nix     |  2 ++
 pkgs/xmlgen.nix | 57 +++++++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 60 insertions(+)
 create mode 100644 pkgs/xmlgen.nix

diff --git a/manifest.dhall b/manifest.dhall
index 7d4eec3..64287e6 100644
--- a/manifest.dhall
+++ b/manifest.dhall
@@ -240,4 +240,5 @@ in  [ callHackage "HTF" "0.15.0.0"
         "https://github.com/milloni/plutus"
         (Some "81cd1ada745c12af2c2c28afce1f6b6b28b38fdd")
         (Some "word-array")
+    , callHackage "xmlgen" "0.6.2.2"
     ]
diff --git a/overlay.nix b/overlay.nix
index ec33595..1d2d2ae 100644
--- a/overlay.nix
+++ b/overlay.nix
@@ -165,4 +165,6 @@ final: prev: with pkgs.haskell.lib; {
 
   word-array = prev.callPackage (./pkgs/word-array.nix) { };
 
+  xmlgen = prev.callPackage (./pkgs/xmlgen.nix) { };
+
 }
diff --git a/pkgs/xmlgen.nix b/pkgs/xmlgen.nix
new file mode 100644
index 0000000..b5cd688
--- /dev/null
+++ b/pkgs/xmlgen.nix
@@ -0,0 +1,57 @@
+{ mkDerivation
+, base
+, blaze-builder
+, bytestring
+, containers
+, criterion
+, filepath
+, HUnit
+, hxt
+, lib
+, mtl
+, process
+, QuickCheck
+, text
+, unix
+}:
+mkDerivation {
+  pname = "xmlgen";
+  version = "0.6.2.2";
+  sha256 = "926fa98c77525f5046274758fcebd190e86de3f53a4583179e8ce328f25a34d6";
+  revision = "1";
+  editedCabalFile = "0vwnqd0lsw81llsn0psga5r6pw7jh69vfbj3rnz7c2fpkc0gjh3j";
+  isLibrary = true;
+  isExecutable = false;
+  enableSeparateDataOutput = false;
+  libraryHaskellDepends = [
+    base
+    blaze-builder
+    bytestring
+    containers
+    mtl
+    text
+  ];
+  testHaskellDepends = [
+    base
+    bytestring
+    containers
+    filepath
+    HUnit
+    hxt
+    process
+    QuickCheck
+    text
+    unix
+  ];
+  benchmarkHaskellDepends = [ base bytestring criterion text ];
+  enableLibraryProfiling = false;
+  enableExecutableProfiling = false;
+  doHaddock = false;
+  jailbreak = true;
+  doCheck = false;
+  doBenchmark = false;
+  hyperlinkSource = false;
+  description = "Fast XML generation library";
+  license = lib.licenses.bsd3;
+  broken = false;
+}
-- 
GitLab