From 313c8783022dd3bbdc844325225bab3682bdda52 Mon Sep 17 00:00:00 2001
From: Daniel Firth <dan.firth@homotopic.tech>
Date: Mon, 28 Nov 2022 14:27:44 +0000
Subject: [PATCH] strict-list: init at 0.1.7

---
 horizon.dhall        |  1 +
 overlay.nix          |  2 ++
 pkgs/strict-list.nix | 41 +++++++++++++++++++++++++++++++++++++++++
 3 files changed, 44 insertions(+)
 create mode 100644 pkgs/strict-list.nix

diff --git a/horizon.dhall b/horizon.dhall
index 698994b..10b53a4 100644
--- a/horizon.dhall
+++ b/horizon.dhall
@@ -252,6 +252,7 @@ let otherLibraries =
           "https://github.com/milloni/strict-containers"
           "9e833be00bc2c5cdb0b4e743b7a2cde00dd4f616"
           (Some "strict-containers")
+      , H.callHackage "strict-list" "0.1.7"
       , H.callHackage "testing-type-modifiers" "0.1.0.1"
       , H.callHackage "th-desugar" "1.14"
       , H.callHackage "time-units" "1.0.0"
diff --git a/overlay.nix b/overlay.nix
index 5db568f..e8f40ac 100644
--- a/overlay.nix
+++ b/overlay.nix
@@ -217,6 +217,8 @@ final: prev: with pkgs.haskell.lib; {
 
   strict-containers = final.callPackage (./pkgs/strict-containers.nix) { };
 
+  strict-list = final.callPackage (./pkgs/strict-list.nix) { };
+
   testing-type-modifiers = final.callPackage (./pkgs/testing-type-modifiers.nix) { };
 
   th-desugar = final.callPackage (./pkgs/th-desugar.nix) { };
diff --git a/pkgs/strict-list.nix b/pkgs/strict-list.nix
new file mode 100644
index 0000000..5df276e
--- /dev/null
+++ b/pkgs/strict-list.nix
@@ -0,0 +1,41 @@
+{ mkDerivation
+, QuickCheck
+, base
+, deepseq
+, hashable
+, lib
+, quickcheck-instances
+, rerebase
+, semigroupoids
+, tasty
+, tasty-hunit
+, tasty-quickcheck
+}:
+mkDerivation {
+  pname = "strict-list";
+  version = "0.1.7";
+  sha256 = "70cd8accb5e1f68273b07c6cfe64e27f08815df59e2606bc5ed6f2fdcbb20e36";
+  isLibrary = true;
+  isExecutable = false;
+  enableSeparateDataOutput = false;
+  libraryHaskellDepends = [ base deepseq hashable semigroupoids ];
+  testHaskellDepends = [
+    QuickCheck
+    quickcheck-instances
+    rerebase
+    tasty
+    tasty-hunit
+    tasty-quickcheck
+  ];
+  enableLibraryProfiling = true;
+  enableExecutableProfiling = true;
+  doHaddock = false;
+  jailbreak = true;
+  doCheck = false;
+  doBenchmark = false;
+  hyperlinkSource = false;
+  homepage = "https://github.com/nikita-volkov/strict-list";
+  description = "Strict linked list";
+  license = lib.licenses.mit;
+  broken = false;
+}
-- 
GitLab