about summary refs log tree commit diff
path: root/home/modules
diff options
context:
space:
mode:
authorGriffin Smith <root@gws.fyi>2020-06-15T15·53-0400
committerGriffin Smith <root@gws.fyi>2020-06-15T15·53-0400
commit3c61742a3740a2f56433dd4334f15f735e523756 (patch)
tree6594f0b052aada08737bd7979ba9a71962e14b9e /home/modules
parent51e202ff47a2690b9942d11507572039fdbb7a58 (diff)
Install pg-dump-upsert
Diffstat (limited to 'home/modules')
-rw-r--r--home/modules/development.nix15
1 files changed, 15 insertions, 0 deletions
diff --git a/home/modules/development.nix b/home/modules/development.nix
index a8e74ed6dff3..04c672539fff 100644
--- a/home/modules/development.nix
+++ b/home/modules/development.nix
@@ -9,6 +9,20 @@ let
     sha256 = "1lry026mlpxp1j563qs13nhxf37i2zpl7lh0lgfdwc44afybqka6";
   }) {};
 
+  pg-dump-upsert = pkgs.buildGoModule rec {
+    pname = "pg-dump-upsert";
+    version = "165258deaebded5e9b88f7a0acf3a4b7350e7bf4";
+
+    src = pkgs.fetchFromGitHub {
+      owner = "tomyl";
+      repo = "pg-dump-upsert";
+      rev = version;
+      sha256 = "1an4h8jjbj3r618ykjwk9brii4h9cxjqy47c4c8rivnvhimgf4wm";
+    };
+
+    modSha256 = "07ci2726nrn8qjvwcypk6nf8zqmfnmvch8l28bmgj7hpfrbyb424";
+  };
+
 in
 
 with lib;
@@ -36,6 +50,7 @@ with lib;
 
     haskellPackages.Agda
     AgdaStdlib
+    pg-dump-upsert
 
     (import ../pkgs/clang-tools { inherit pkgs; })
   ] ++ optional (stdenv.isLinux) julia;