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

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

diff --git a/manifest.dhall b/manifest.dhall
index 05596158..0b95e335 100644
--- a/manifest.dhall
+++ b/manifest.dhall
@@ -272,6 +272,7 @@ in  [ callHackage "Cabal" "3.8.1.0"
     , callHackage "hslua-classes" "2.2.0"
     , callHackage "hslua-marshalling" "2.2.1"
     , callHackage "hslua-module-path" "1.0.3"
+    , callHackage "hslua-module-system" "1.0.2"
     , callHackage "hslua-module-text" "1.0.2"
     , callHackage "hslua-module-version" "1.0.3"
     , callHackage "hslua-objectorientation" "2.2.1"
diff --git a/overlay.nix b/overlay.nix
index c695d79c..78b5408f 100644
--- a/overlay.nix
+++ b/overlay.nix
@@ -317,6 +317,8 @@ final: prev: with pkgs.haskell.lib; {
 
   hslua-module-path = prev.callPackage (./pkgs/hslua-module-path.nix) { };
 
+  hslua-module-system = prev.callPackage (./pkgs/hslua-module-system.nix) { };
+
   hslua-module-text = prev.callPackage (./pkgs/hslua-module-text.nix) { };
 
   hslua-module-version = prev.callPackage (./pkgs/hslua-module-version.nix) { };
diff --git a/pkgs/hslua-module-system.nix b/pkgs/hslua-module-system.nix
new file mode 100644
index 00000000..09404b8c
--- /dev/null
+++ b/pkgs/hslua-module-system.nix
@@ -0,0 +1,52 @@
+{ mkDerivation
+, base
+, directory
+, exceptions
+, hslua-core
+, hslua-marshalling
+, hslua-packaging
+, lib
+, tasty
+, tasty-hunit
+, tasty-lua
+, temporary
+, text
+}:
+mkDerivation {
+  pname = "hslua-module-system";
+  version = "1.0.2";
+  sha256 = "b63593038adb3a09172adfca67e3bc53c5c72de873db325b397994f665724c51";
+  isLibrary = true;
+  isExecutable = false;
+  enableSeparateDataOutput = false;
+  libraryHaskellDepends = [
+    base
+    directory
+    exceptions
+    hslua-core
+    hslua-marshalling
+    hslua-packaging
+    temporary
+    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 wrapper around Haskell's System module";
+  license = lib.licenses.mit;
+  broken = false;
+}
-- 
GitLab