From bceed9cf6230cae9e5d3af304850d3250c5fea16 Mon Sep 17 00:00:00 2001
From: Daniel Firth <dan.firth@homotopic.tech>
Date: Sat, 5 Nov 2022 09:27:47 +0000
Subject: [PATCH] text-manipulate: init at 0.3.1.0

---
 manifest.dhall           |  1 +
 overlay.nix              |  2 ++
 pkgs/text-manipulate.nix | 23 +++++++++++++++++++++++
 3 files changed, 26 insertions(+)
 create mode 100644 pkgs/text-manipulate.nix

diff --git a/manifest.dhall b/manifest.dhall
index 7d24208f..5cd2842b 100644
--- a/manifest.dhall
+++ b/manifest.dhall
@@ -516,6 +516,7 @@ in  [ callHackage "Cabal" "3.8.1.0"
     , callHackage "test-framework-hunit" "0.3.0.2"
     , callHackage "test-framework-quickcheck2" "0.3.0.5"
     , callHackage "text-display" "0.0.3.0"
+    , callHackage "text-manipulate" "0.3.1.0"
     , callHackage "text-metrics" "0.3.2"
     , callHackage "text-short" "0.1.5"
     , callHackage "text-zipper" "0.12"
diff --git a/overlay.nix b/overlay.nix
index c4e4df96..f3b6c4af 100644
--- a/overlay.nix
+++ b/overlay.nix
@@ -665,6 +665,8 @@ final: prev: with pkgs.haskell.lib; {
 
   text-display = prev.callPackage (./pkgs/text-display.nix) { };
 
+  text-manipulate = prev.callPackage (./pkgs/text-manipulate.nix) { };
+
   text-metrics = prev.callPackage (./pkgs/text-metrics.nix) { };
 
   text-short = prev.callPackage (./pkgs/text-short.nix) { };
diff --git a/pkgs/text-manipulate.nix b/pkgs/text-manipulate.nix
new file mode 100644
index 00000000..e752b275
--- /dev/null
+++ b/pkgs/text-manipulate.nix
@@ -0,0 +1,23 @@
+{ mkDerivation, base, criterion, lib, tasty, tasty-hunit, text }:
+mkDerivation {
+  pname = "text-manipulate";
+  version = "0.3.1.0";
+  sha256 = "9a67efef74bf8a0166436e11bc5b668c10a943c5454fdac3c8de366668a306bc";
+  isLibrary = true;
+  isExecutable = false;
+  enableSeparateDataOutput = false;
+  libraryHaskellDepends = [ base text ];
+  testHaskellDepends = [ base tasty tasty-hunit text ];
+  benchmarkHaskellDepends = [ base criterion text ];
+  enableLibraryProfiling = false;
+  enableExecutableProfiling = false;
+  doHaddock = false;
+  jailbreak = true;
+  doCheck = false;
+  doBenchmark = false;
+  hyperlinkSource = false;
+  homepage = "https://github.com/brendanhay/text-manipulate";
+  description = "Case conversion, word boundary manipulation, and textual subjugation";
+  license = lib.licenses.mpl20;
+  broken = false;
+}
-- 
GitLab