From 8ed51a3ebd2898149a4ea1dd1a4dfb2bf982a23f Mon Sep 17 00:00:00 2001
From: Daniel Firth <dan.firth@homotopic.tech>
Date: Sun, 19 Feb 2023 14:44:20 +0000
Subject: [PATCH] monoid-extras: init at 0.6.2

---
 horizon.dhall          |  1 +
 initial-packages.nix   |  2 ++
 pkgs/monoid-extras.nix | 28 ++++++++++++++++++++++++++++
 3 files changed, 31 insertions(+)
 create mode 100644 pkgs/monoid-extras.nix

diff --git a/horizon.dhall b/horizon.dhall
index 3b781a2d..45c75040 100644
--- a/horizon.dhall
+++ b/horizon.dhall
@@ -657,6 +657,7 @@ let packages =
       , monad-primitive = H.callHackage "monad-primitive" "0.1"
       , mono-traversable = H.callHackage "mono-traversable" "1.0.15.3"
       , monoidal-containers = H.callHackage "monoidal-containers" "0.6.3.0"
+      , monoid-extras = H.callHackage "monoid-extras" "0.6.2"
       , monoid-subclasses = H.callHackage "monoid-subclasses" "1.1.3"
       , mtl-compat = H.callHackage "mtl-compat" "0.2.2"
       , mtl-prelude = H.callHackage "mtl-prelude" "2.0.3.1"
diff --git a/initial-packages.nix b/initial-packages.nix
index b6e9f6e0..2e7c9397 100644
--- a/initial-packages.nix
+++ b/initial-packages.nix
@@ -1051,6 +1051,8 @@ self: with pkgs.haskell.lib; {
 
   mono-traversable = self.callPackage (./pkgs/mono-traversable.nix) { };
 
+  monoid-extras = self.callPackage (./pkgs/monoid-extras.nix) { };
+
   monoid-subclasses = self.callPackage (./pkgs/monoid-subclasses.nix) { };
 
   monoidal-containers = self.callPackage (./pkgs/monoidal-containers.nix) { };
diff --git a/pkgs/monoid-extras.nix b/pkgs/monoid-extras.nix
new file mode 100644
index 00000000..3a3ea2d3
--- /dev/null
+++ b/pkgs/monoid-extras.nix
@@ -0,0 +1,28 @@
+{ mkDerivation
+, base
+, criterion
+, groups
+, lib
+, semigroupoids
+, semigroups
+}:
+mkDerivation {
+  pname = "monoid-extras";
+  version = "0.6.2";
+  sha256 = "9ceec9125e4727c40bb1622319fb77f2d2fac39735f533afdb7f33e118b85de1";
+  isLibrary = true;
+  isExecutable = false;
+  enableSeparateDataOutput = false;
+  libraryHaskellDepends = [ base groups semigroupoids ];
+  benchmarkHaskellDepends = [ base criterion semigroups ];
+  enableLibraryProfiling = true;
+  enableExecutableProfiling = true;
+  doHaddock = false;
+  jailbreak = true;
+  doCheck = false;
+  doBenchmark = false;
+  hyperlinkSource = false;
+  description = "Various extra monoid-related definitions and utilities";
+  license = lib.licenses.bsd3;
+  broken = false;
+}
-- 
GitLab