about summary refs log tree commit diff
path: root/pkgs/servers/sql/postgresql
diff options
context:
space:
mode:
authorMario Rodas <marsam@users.noreply.github.com>2023-09-22 04:20:00 +0000
committerMario Rodas <marsam@users.noreply.github.com>2023-09-22 04:20:00 +0000
commit430ee544ade88b9e65005c5617b2ec71e06610c6 (patch)
treed1dcc5bc62cdc4cdf7594193663844cab59ecab3 /pkgs/servers/sql/postgresql
parentc11d47d99b87af913d509685797944af69368def (diff)
downloadnixlib-430ee544ade88b9e65005c5617b2ec71e06610c6.tar
nixlib-430ee544ade88b9e65005c5617b2ec71e06610c6.tar.gz
nixlib-430ee544ade88b9e65005c5617b2ec71e06610c6.tar.bz2
nixlib-430ee544ade88b9e65005c5617b2ec71e06610c6.tar.lz
nixlib-430ee544ade88b9e65005c5617b2ec71e06610c6.tar.xz
nixlib-430ee544ade88b9e65005c5617b2ec71e06610c6.tar.zst
nixlib-430ee544ade88b9e65005c5617b2ec71e06610c6.zip
postgresql16Packages.temporal_tables: unstable-2021-02-20 -> 1.2.2
Diff: https://github.com/arkhipov/temporal_tables/compare/vunstable-2021-02-20...v1.2.2
Diffstat (limited to 'pkgs/servers/sql/postgresql')
-rw-r--r--pkgs/servers/sql/postgresql/ext/temporal_tables.nix22
1 files changed, 10 insertions, 12 deletions
diff --git a/pkgs/servers/sql/postgresql/ext/temporal_tables.nix b/pkgs/servers/sql/postgresql/ext/temporal_tables.nix
index ec654c4a09fa..cb401829b242 100644
--- a/pkgs/servers/sql/postgresql/ext/temporal_tables.nix
+++ b/pkgs/servers/sql/postgresql/ext/temporal_tables.nix
@@ -2,28 +2,26 @@
 
 stdenv.mkDerivation rec {
   pname = "temporal_tables";
-  version = "unstable-2021-02-20";
+  version = "1.2.2";
 
   buildInputs = [ postgresql ];
 
   src = fetchFromGitHub {
     owner  = "arkhipov";
-    repo   = pname;
-    rev    = "3ce22da51f2549e8f8b8fbf2850c63eb3a2f1fbb";
-    sha256 = "sha256-kmcl6vVHRZj2G5GijEyaZgDpZBDcdIUKzXv0rYYqUu4=";
+    repo   = "temporal_tables";
+    rev    = "v${version}";
+    sha256 = "sha256-7+DCSPAPhsokWDq/5IXNhd7jY6FfzxxUjlsg/VJeD3k=";
   };
 
   installPhase = ''
-    mkdir -p $out/{lib,share/postgresql/extension}
-
-    cp *.so      $out/lib
-    cp *.sql     $out/share/postgresql/extension
-    cp *.control $out/share/postgresql/extension
-  '';
+    install -D -t $out/lib temporal_tables${postgresql.dlSuffix}
+    install -D -t $out/share/postgresql/extension *.sql
+    install -D -t $out/share/postgresql/extension *.control
+ '';
 
   meta = with lib; {
-    description = "Temporal Tables PostgreSQL Extension ";
-    homepage    = "https://github.com/mlt/temporal_tables";
+    description = "Temporal Tables PostgreSQL Extension";
+    homepage    = "https://github.com/arkhipov/temporal_tables";
     maintainers = with maintainers; [ ggpeti ];
     platforms   = postgresql.meta.platforms;
     license     = licenses.bsd2;