From d90df61a98045213fbadd232a227faa28db81c55 Mon Sep 17 00:00:00 2001
From: Daniel Firth <dan.firth@homotopic.tech>
Date: Tue, 25 Oct 2022 13:24:53 +0100
Subject: [PATCH] kvstore-effectful: init at
 3502825423aea3a1af9384e9d751feea4599c60b

---
 manifest.dhall             |  5 +++++
 overlay.nix                |  2 ++
 pkgs/kvstore-effectful.nix | 18 ++++++++++++++++++
 3 files changed, 25 insertions(+)
 create mode 100644 pkgs/kvstore-effectful.nix

diff --git a/manifest.dhall b/manifest.dhall
index fa58474c..ebc2b4b3 100644
--- a/manifest.dhall
+++ b/manifest.dhall
@@ -271,6 +271,11 @@ in  [ callHackage "Cabal" "3.8.1.0"
     , callHackage "integer-logarithms" "1.0.3.1"
     , callHackage "invariant" "0.6"
     , callHackage "iproute" "1.7.12"
+    , callCabal2nix
+        "kvstore-effectful"
+        "https://github.com/haskell-effectful/kvstore-effectful"
+        (Some "3502825423aea3a1af9384e9d751feea4599c60b")
+        (Some "kvstore-effectful")
     , callHackage "lens" "5.2"
     , callHackage "lens-aeson" "1.2.1"
     , callHackage "lens-family-th" "0.5.2.1"
diff --git a/overlay.nix b/overlay.nix
index 23f55804..45dec5e1 100644
--- a/overlay.nix
+++ b/overlay.nix
@@ -313,6 +313,8 @@ final: prev: with pkgs.haskell.lib; {
 
     iproute = prev.callPackage (./pkgs/iproute.nix) { };
 
+    kvstore-effectful = prev.callPackage (./pkgs/kvstore-effectful.nix) { };
+
     lens = prev.callPackage (./pkgs/lens.nix) { };
 
     lens-aeson = prev.callPackage (./pkgs/lens-aeson.nix) { };
diff --git a/pkgs/kvstore-effectful.nix b/pkgs/kvstore-effectful.nix
new file mode 100644
index 00000000..71223992
--- /dev/null
+++ b/pkgs/kvstore-effectful.nix
@@ -0,0 +1,18 @@
+{ mkDerivation, base, containers, effectful, fetchgit, lib }:
+mkDerivation {
+  pname = "kvstore-effectful";
+  version = "0.0.1.0";
+  src = fetchgit {
+    url = "https://github.com/haskell-effectful/kvstore-effectful";
+    sha256 = "1s78x8yqig17dhfwf2qbd01k8symzrjvg8w0i16mckyxpm28aqcq";
+    rev = "3502825423aea3a1af9384e9d751feea4599c60b";
+    fetchSubmodules = true;
+  };
+  postUnpack = "sourceRoot+=/kvstore-effectful/; echo source root reset to $sourceRoot";
+  libraryHaskellDepends = [ base containers effectful ];
+  doHaddock = false;
+  jailbreak = true;
+  doCheck = false;
+  hyperlinkSource = false;
+  license = lib.licenses.bsd3;
+}
\ No newline at end of file
-- 
GitLab