nixpkgs/pkgs/servers/sql/postgresql/ext/temporal_tables.nix
Ryan Trinkle e88449419a postgresqlPackages.temporal_tables: 1.2.0 -> 2021-02-20
Version 1.2.0 was released in 2017, and there have been no releases
since then. However, commit 3ce22da adds support for PostgreSQL 13.

Move the repository owner to `arkhipov`, since it's the one used by PGXN
https://pgxn.org/dist/temporal_tables/
2023-01-04 17:02:58 +00:00

32 lines
849 B
Nix

{ lib, stdenv, fetchFromGitHub, postgresql }:
stdenv.mkDerivation rec {
pname = "temporal_tables";
version = "unstable-2021-02-20";
buildInputs = [ postgresql ];
src = fetchFromGitHub {
owner = "arkhipov";
repo = pname;
rev = "3ce22da51f2549e8f8b8fbf2850c63eb3a2f1fbb";
sha256 = "sha256-kmcl6vVHRZj2G5GijEyaZgDpZBDcdIUKzXv0rYYqUu4=";
};
installPhase = ''
mkdir -p $out/{lib,share/postgresql/extension}
cp *.so $out/lib
cp *.sql $out/share/postgresql/extension
cp *.control $out/share/postgresql/extension
'';
meta = with lib; {
description = "Temporal Tables PostgreSQL Extension ";
homepage = "https://github.com/mlt/temporal_tables";
maintainers = with maintainers; [ ggpeti ];
platforms = postgresql.meta.platforms;
license = licenses.bsd2;
};
}