From dd11cb908eabdd84ac969d2031ef35fede239ded Mon Sep 17 00:00:00 2001
From: Daniel Firth <dan.firth@homotopic.tech>
Date: Mon, 17 Oct 2022 15:59:06 +0100
Subject: [PATCH] fourmolu: remove

---
 manifest.dhall    |  5 -----
 overlay.nix       |  2 --
 pkgs/fourmolu.nix | 42 ------------------------------------------
 3 files changed, 49 deletions(-)
 delete mode 100644 pkgs/fourmolu.nix

diff --git a/manifest.dhall b/manifest.dhall
index e2d7e27e..f22c79aa 100644
--- a/manifest.dhall
+++ b/manifest.dhall
@@ -151,11 +151,6 @@ in  [ callHackage "Cabal" "3.8.1.0"
     , callHackage "finite-field" "0.10.0"
     , callHackage "first-class-families" "0.8.0.1"
     , callHackage "foldl" "1.4.12"
-    , callCabal2nix
-        "fourmolu"
-        "https://github.com/fourmolu/fourmolu"
-        (Some "c6d7156b5f3e8287960a76e777c40b62ebfdbcb3")
-        (None Text)
     , callHackage "foundation" "0.0.29"
     , callHackage "generic-lens-core" "2.2.1.0"
     , callHackage "generic-lens-lite" "0.1"
diff --git a/overlay.nix b/overlay.nix
index 288b4890..b444466c 100644
--- a/overlay.nix
+++ b/overlay.nix
@@ -139,8 +139,6 @@ final: prev: with pkgs.haskell.lib; {
 
     foundation = prev.callPackage (./pkgs/foundation.nix) { };
 
-    fourmolu = prev.callPackage (./pkgs/fourmolu.nix) { };
-
     generic-lens-core = prev.callPackage (./pkgs/generic-lens-core.nix) { };
 
     generic-lens-lite = prev.callPackage (./pkgs/generic-lens-lite.nix) { };
diff --git a/pkgs/fourmolu.nix b/pkgs/fourmolu.nix
deleted file mode 100644
index fa8b6483..00000000
--- a/pkgs/fourmolu.nix
+++ /dev/null
@@ -1,42 +0,0 @@
-{ mkDerivation, aeson, ansi-terminal, array, base, bytestring
-, Cabal, containers, Diff, directory, dlist, exceptions, fetchgit
-, filepath, ghc-lib-parser, gitrev, hspec, hspec-discover
-, hspec-megaparsec, lib, megaparsec, MemoTrie, mtl
-, optparse-applicative, path, path-io, pretty, process, QuickCheck
-, syb, template-haskell, temporary, text, th-lift-instances, yaml
-}:
-mkDerivation {
-  pname = "fourmolu";
-  version = "0.8.2.0";
-  src = fetchgit {
-    url = "https://github.com/fourmolu/fourmolu";
-    sha256 = "0y4gdwimyvh6ha86hwjp62b9cnjwsb0svd3jcwjjaffcikwalbvs";
-    rev = "c6d7156b5f3e8287960a76e777c40b62ebfdbcb3";
-    fetchSubmodules = true;
-  };
-  isLibrary = true;
-  isExecutable = true;
-  libraryHaskellDepends = [
-    aeson ansi-terminal array base bytestring Cabal containers Diff
-    directory dlist exceptions filepath ghc-lib-parser megaparsec
-    MemoTrie mtl syb template-haskell text th-lift-instances yaml
-  ];
-  executableHaskellDepends = [
-    base containers directory filepath ghc-lib-parser gitrev
-    optparse-applicative text yaml
-  ];
-  testHaskellDepends = [
-    base containers Diff directory filepath ghc-lib-parser hspec
-    hspec-megaparsec megaparsec path path-io pretty process QuickCheck
-    temporary text
-  ];
-  testToolDepends = [ hspec-discover ];
-  doHaddock = false;
-  jailbreak = true;
-  doCheck = false;
-  hyperlinkSource = false;
-  homepage = "https://github.com/parsonsmatt/fourmolu";
-  description = "A formatter for Haskell source code";
-  license = lib.licenses.bsd3;
-  mainProgram = "fourmolu";
-}
\ No newline at end of file
-- 
GitLab