From 740fcf3eee384aae737c9687b32390773622fb0b Mon Sep 17 00:00:00 2001
From: Daniel Firth <dan.firth@homotopic.tech>
Date: Thu, 2 Mar 2023 22:26:35 +0000
Subject: [PATCH] numeric-prelude: init at 0.4.4

---
 horizon.dhall            |  1 +
 initial-packages.nix     |  2 ++
 pkgs/numeric-prelude.nix | 56 ++++++++++++++++++++++++++++++++++++++++
 3 files changed, 59 insertions(+)
 create mode 100644 pkgs/numeric-prelude.nix

diff --git a/horizon.dhall b/horizon.dhall
index 8314c883..37d65424 100644
--- a/horizon.dhall
+++ b/horizon.dhall
@@ -786,6 +786,7 @@ let packages =
       , non-negative = H.callHackage "non-negative" "0.1.2"
       , nothunks = H.callHackage "nothunks" "0.1.3"
       , numeric-extras = H.callHackage "numeric-extras" "0.1"
+      , numeric-prelude = H.callHackage "numeric-prelude" "0.4.4"
       , numtype-dk = H.callHackage "numtype-dk" "0.5.0.3"
       , odd-jobs =
           H.callGit
diff --git a/initial-packages.nix b/initial-packages.nix
index 37228769..432a69f5 100644
--- a/initial-packages.nix
+++ b/initial-packages.nix
@@ -1259,6 +1259,8 @@ self: with pkgs.haskell.lib; {
 
   numeric-extras = self.callPackage (./pkgs/numeric-extras.nix) { };
 
+  numeric-prelude = self.callPackage (./pkgs/numeric-prelude.nix) { };
+
   numtype-dk = self.callPackage (./pkgs/numtype-dk.nix) { };
 
   odd-jobs = self.callPackage (./pkgs/odd-jobs.nix) { };
diff --git a/pkgs/numeric-prelude.nix b/pkgs/numeric-prelude.nix
new file mode 100644
index 00000000..66aa20d4
--- /dev/null
+++ b/pkgs/numeric-prelude.nix
@@ -0,0 +1,56 @@
+{ mkDerivation
+, QuickCheck
+, array
+, base
+, containers
+, deepseq
+, doctest-exitcode-stdio
+, doctest-lib
+, lib
+, non-negative
+, parsec
+, random
+, semigroups
+, storable-record
+, utility-ht
+}:
+mkDerivation {
+  pname = "numeric-prelude";
+  version = "0.4.4";
+  sha256 = "5a32f6b4dab913c68db30acc2e70e41e4b8f9fb00d25407ed4b0e4ae85cfa613";
+  isLibrary = true;
+  isExecutable = true;
+  enableSeparateDataOutput = false;
+  libraryHaskellDepends = [
+    array
+    base
+    containers
+    deepseq
+    non-negative
+    parsec
+    QuickCheck
+    random
+    semigroups
+    storable-record
+    utility-ht
+  ];
+  testHaskellDepends = [
+    base
+    doctest-exitcode-stdio
+    doctest-lib
+    QuickCheck
+    random
+    utility-ht
+  ];
+  enableLibraryProfiling = true;
+  enableExecutableProfiling = true;
+  doHaddock = false;
+  jailbreak = true;
+  doCheck = false;
+  doBenchmark = false;
+  hyperlinkSource = false;
+  homepage = "http://www.haskell.org/haskellwiki/Numeric_Prelude";
+  description = "An experimental alternative hierarchy of numeric type classes";
+  license = lib.licenses.bsd3;
+  broken = false;
+}
-- 
GitLab