From 254b848f2e6bf8ae74dac7987160ab0a8d879aa8 Mon Sep 17 00:00:00 2001
From: Daniel Firth <dan.firth@homotopic.tech>
Date: Mon, 17 Oct 2022 15:59:35 +0100
Subject: [PATCH] these-skinny: init at 0.7.5

---
 manifest.dhall        |  1 +
 overlay.nix           |  2 ++
 pkgs/these-skinny.nix | 16 ++++++++++++++++
 3 files changed, 19 insertions(+)
 create mode 100644 pkgs/these-skinny.nix

diff --git a/manifest.dhall b/manifest.dhall
index f22c79aa..31945fa3 100644
--- a/manifest.dhall
+++ b/manifest.dhall
@@ -338,6 +338,7 @@ in  [ callHackage "Cabal" "3.8.1.0"
     , callHackage "text-metrics" "0.3.2"
     , callHackage "text-zipper" "0.12"
     , callHackage "these" "1.1.1.1"
+    , callHackage "these-skinny" "0.7.5"
     , callHackage "th-extras" "0.0.0.6"
     , callHackage "th-lift-instances" "0.1.20"
     , callHackage "tidal" "1.8.1"
diff --git a/overlay.nix b/overlay.nix
index b444466c..bd0faad3 100644
--- a/overlay.nix
+++ b/overlay.nix
@@ -417,6 +417,8 @@ final: prev: with pkgs.haskell.lib; {
 
     these = prev.callPackage (./pkgs/these.nix) { };
 
+    these-skinny = prev.callPackage (./pkgs/these-skinny.nix) { };
+
     tidal = prev.callPackage (./pkgs/tidal.nix) { };
 
     time-compat = prev.callPackage (./pkgs/time-compat.nix) { };
diff --git a/pkgs/these-skinny.nix b/pkgs/these-skinny.nix
new file mode 100644
index 00000000..387a8e21
--- /dev/null
+++ b/pkgs/these-skinny.nix
@@ -0,0 +1,16 @@
+{ mkDerivation, base, deepseq, ghc-prim, lib }:
+mkDerivation {
+  pname = "these-skinny";
+  version = "0.7.5";
+  sha256 = "726933193bb33d9731a2ed794c07c3ff8952fb0baef5ebbd7dc3b2a3e5746cd9";
+  revision = "1";
+  editedCabalFile = "1paqqcdbqr91gvvs0anq30pkdd37g70ql4v11lszl6dzjl6yy3d5";
+  libraryHaskellDepends = [ base deepseq ghc-prim ];
+  doHaddock = false;
+  jailbreak = true;
+  doCheck = false;
+  hyperlinkSource = false;
+  homepage = "https://github.com/chessai/these-skinny";
+  description = "A fork of the 'these' package without the dependency bloat";
+  license = lib.licenses.bsd3;
+}
\ No newline at end of file
-- 
GitLab