From 17fc1d739500684c07d5c33e4c7322bda458626f Mon Sep 17 00:00:00 2001
From: Daniel Firth <dan.firth@homotopic.tech>
Date: Mon, 7 Nov 2022 11:23:32 +0000
Subject: [PATCH] repline: init at 0.4.2.0

---
 manifest.dhall   |  1 +
 overlay.nix      |  2 ++
 pkgs/repline.nix | 37 +++++++++++++++++++++++++++++++++++++
 3 files changed, 40 insertions(+)
 create mode 100644 pkgs/repline.nix

diff --git a/manifest.dhall b/manifest.dhall
index 010e2aa2..d3078994 100644
--- a/manifest.dhall
+++ b/manifest.dhall
@@ -529,6 +529,7 @@ in  [ callHackage "Cabal" "3.8.1.0"
     , callHackage "regex-posix" "0.96.0.1"
     , callHackage "refined" "0.8"
     , callHackage "reflection" "2.1.6"
+    , callHackage "repline" "0.4.2.0"
     , callHackage "resolv" "0.1.2.0"
     , callHackage "resource-pool" "0.3.1.0"
     , callHackage "resourcet" "1.3.0"
diff --git a/overlay.nix b/overlay.nix
index 3ace3f99..8921fd2a 100644
--- a/overlay.nix
+++ b/overlay.nix
@@ -785,6 +785,8 @@ self: with pkgs.haskell.lib; {
 
   relude = self.callPackage (./pkgs/relude.nix) { };
 
+  repline = self.callPackage (./pkgs/repline.nix) { };
+
   rere = self.callPackage (./pkgs/rere.nix) { };
 
   rerebase = self.callPackage (./pkgs/rerebase.nix) { };
diff --git a/pkgs/repline.nix b/pkgs/repline.nix
new file mode 100644
index 00000000..6c40338d
--- /dev/null
+++ b/pkgs/repline.nix
@@ -0,0 +1,37 @@
+{ mkDerivation
+, base
+, containers
+, exceptions
+, haskeline
+, lib
+, mtl
+, process
+}:
+mkDerivation {
+  pname = "repline";
+  version = "0.4.2.0";
+  sha256 = "6181b3f106b4059eb1c86c4a442083c29335a1d9a3e7cfffecb962ec05b08d5a";
+  isLibrary = true;
+  isExecutable = false;
+  enableSeparateDataOutput = false;
+  libraryHaskellDepends = [
+    base
+    containers
+    exceptions
+    haskeline
+    mtl
+    process
+  ];
+  testHaskellDepends = [ base containers mtl process ];
+  enableLibraryProfiling = false;
+  enableExecutableProfiling = false;
+  doHaddock = false;
+  jailbreak = true;
+  doCheck = false;
+  doBenchmark = false;
+  hyperlinkSource = false;
+  homepage = "https://github.com/sdiehl/repline";
+  description = "Haskeline wrapper for GHCi-like REPL interfaces";
+  license = lib.licenses.mit;
+  broken = false;
+}
-- 
GitLab