From cf299622ceebd0acf7ebd9e9ea946ee56cba3e24 Mon Sep 17 00:00:00 2001
From: Daniel Firth <dan.firth@homotopic.tech>
Date: Sun, 23 Oct 2022 08:09:11 +0100
Subject: [PATCH] postgresql-simple-migration: init at 0.1.15.0

---
 manifest.dhall                       |  1 +
 overlay.nix                          |  2 ++
 pkgs/postgresql-simple-migration.nix | 29 ++++++++++++++++++++++++++++
 3 files changed, 32 insertions(+)
 create mode 100644 pkgs/postgresql-simple-migration.nix

diff --git a/manifest.dhall b/manifest.dhall
index e37614d4..d71344da 100644
--- a/manifest.dhall
+++ b/manifest.dhall
@@ -328,6 +328,7 @@ in  [ callHackage "Cabal" "3.8.1.0"
     , callHackage "polysemy-zoo" "0.8.0.0"
     , callHackage "postgresql-libpq" "0.9.4.3"
     , callHackage "postgresql-simple" "0.6.4"
+    , callHackage "postgresql-simple-migration" "0.1.15.0"
     , callHackage "pretty-simple" "4.1.1.0"
     , callHackage "prettyprinter-ansi-terminal" "1.1.3"
     , callHackage "primitive" "0.7.4.0"
diff --git a/overlay.nix b/overlay.nix
index 66023887..7af82499 100644
--- a/overlay.nix
+++ b/overlay.nix
@@ -395,6 +395,8 @@ final: prev: with pkgs.haskell.lib; {
 
     postgresql-simple = prev.callPackage (./pkgs/postgresql-simple.nix) { };
 
+    postgresql-simple-migration = prev.callPackage (./pkgs/postgresql-simple-migration.nix) { };
+
     pretty-simple = prev.callPackage (./pkgs/pretty-simple.nix) { };
 
     prettyprinter-ansi-terminal = prev.callPackage (./pkgs/prettyprinter-ansi-terminal.nix) { };
diff --git a/pkgs/postgresql-simple-migration.nix b/pkgs/postgresql-simple-migration.nix
new file mode 100644
index 00000000..065062b4
--- /dev/null
+++ b/pkgs/postgresql-simple-migration.nix
@@ -0,0 +1,29 @@
+{ mkDerivation, base, base64-bytestring, bytestring, cryptohash
+, directory, hspec, lib, postgresql-simple, text, time
+}:
+mkDerivation {
+  pname = "postgresql-simple-migration";
+  version = "0.1.15.0";
+  sha256 = "6d37425a805c6268f323e63d091020622d17b88b37c8963da0b7d26ea787d648";
+  revision = "1";
+  editedCabalFile = "1a0a5295j207x0pzbhy5inv8qimrh76dmmp26zgaw073n1i8yg8j";
+  isLibrary = true;
+  isExecutable = true;
+  libraryHaskellDepends = [
+    base base64-bytestring bytestring cryptohash directory
+    postgresql-simple time
+  ];
+  executableHaskellDepends = [
+    base base64-bytestring bytestring cryptohash directory
+    postgresql-simple text time
+  ];
+  testHaskellDepends = [ base bytestring hspec postgresql-simple ];
+  doHaddock = false;
+  jailbreak = true;
+  doCheck = false;
+  hyperlinkSource = false;
+  homepage = "https://github.com/ameingast/postgresql-simple-migration";
+  description = "PostgreSQL Schema Migrations";
+  license = lib.licenses.bsd3;
+  mainProgram = "migrate";
+}
\ No newline at end of file
-- 
GitLab