From 0dcea4906ead42f49ec6562524a34e13eae4c392 Mon Sep 17 00:00:00 2001
From: Daniel Firth <dan.firth@homotopic.tech>
Date: Sat, 5 Nov 2022 09:09:50 +0000
Subject: [PATCH] hslua-module-text: init at 1.0.2

---
 manifest.dhall             |  1 +
 overlay.nix                |  2 ++
 pkgs/hslua-module-text.nix | 46 ++++++++++++++++++++++++++++++++++++++
 3 files changed, 49 insertions(+)
 create mode 100644 pkgs/hslua-module-text.nix

diff --git a/manifest.dhall b/manifest.dhall
index 7bea3c41..d5cd899a 100644
--- a/manifest.dhall
+++ b/manifest.dhall
@@ -271,6 +271,7 @@ in  [ callHackage "Cabal" "3.8.1.0"
     , callHackage "hslua-core" "2.2.1"
     , callHackage "hslua-classes" "2.2.0"
     , callHackage "hslua-marshalling" "2.2.1"
+    , callHackage "hslua-module-text" "1.0.2"
     , callHackage "hslua-objectorientation" "2.2.1"
     , callHackage "hslua-packaging" "2.2.1"
     , callHackage "hslua" "2.2.1"
diff --git a/overlay.nix b/overlay.nix
index a922bb30..fde82e6a 100644
--- a/overlay.nix
+++ b/overlay.nix
@@ -315,6 +315,8 @@ final: prev: with pkgs.haskell.lib; {
 
   hslua-marshalling = prev.callPackage (./pkgs/hslua-marshalling.nix) { };
 
+  hslua-module-text = prev.callPackage (./pkgs/hslua-module-text.nix) { };
+
   hslua-objectorientation = prev.callPackage (./pkgs/hslua-objectorientation.nix) { };
 
   hslua-packaging = prev.callPackage (./pkgs/hslua-packaging.nix) { };
diff --git a/pkgs/hslua-module-text.nix b/pkgs/hslua-module-text.nix
new file mode 100644
index 00000000..88778eeb
--- /dev/null
+++ b/pkgs/hslua-module-text.nix
@@ -0,0 +1,46 @@
+{ mkDerivation
+, base
+, hslua-core
+, hslua-marshalling
+, hslua-packaging
+, lib
+, tasty
+, tasty-hunit
+, tasty-lua
+, text
+}:
+mkDerivation {
+  pname = "hslua-module-text";
+  version = "1.0.2";
+  sha256 = "d81d6525fc1e5d252703f91eb3f015f24adeec057553a4c7696768285fb30577";
+  isLibrary = true;
+  isExecutable = false;
+  enableSeparateDataOutput = false;
+  libraryHaskellDepends = [
+    base
+    hslua-core
+    hslua-marshalling
+    hslua-packaging
+    text
+  ];
+  testHaskellDepends = [
+    base
+    hslua-core
+    hslua-packaging
+    tasty
+    tasty-hunit
+    tasty-lua
+    text
+  ];
+  enableLibraryProfiling = false;
+  enableExecutableProfiling = false;
+  doHaddock = false;
+  jailbreak = true;
+  doCheck = false;
+  doBenchmark = false;
+  hyperlinkSource = false;
+  homepage = "https://github.com/hslua/hslua";
+  description = "Lua module for text";
+  license = lib.licenses.mit;
+  broken = false;
+}
-- 
GitLab