diff options
author | Peter Ferenczy <ggpeti@gmail.com> | 2019-06-10 16:05:46 +0200 |
---|---|---|
committer | Austin Seipp <aseipp@pobox.com> | 2019-06-11 09:06:26 -0700 |
commit | 3830e5323e86254f969bff83280e46f7f8318e46 (patch) | |
tree | 85fba799810827abdbce2dabdaef7f2588e37bd2 /pkgs/servers/sql/postgresql/ext/temporal_tables.nix | |
parent | f6fc49d0bfd177d84d64c15bada936a64e724de0 (diff) |
temporal_tables: init at 1.2.0
Diffstat (limited to 'pkgs/servers/sql/postgresql/ext/temporal_tables.nix')
-rw-r--r-- | pkgs/servers/sql/postgresql/ext/temporal_tables.nix | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/pkgs/servers/sql/postgresql/ext/temporal_tables.nix b/pkgs/servers/sql/postgresql/ext/temporal_tables.nix new file mode 100644 index 0000000000000..b4f85c4c53f7d --- /dev/null +++ b/pkgs/servers/sql/postgresql/ext/temporal_tables.nix @@ -0,0 +1,31 @@ +{ stdenv, fetchFromGitHub, postgresql }: + +stdenv.mkDerivation rec { + pname = "temporal_tables"; + version = "1.2.0"; + + buildInputs = [ postgresql ]; + + src = fetchFromGitHub { + owner = "mlt"; + repo = pname; + rev = "6cc86eb03d618d6b9fc09ae523f1a1e5228d22b5"; + sha256 = "0ykv37rm511n5955mbh9dcp7pgg88z1nwgszav7z6pziaj3nba8x"; + }; + + installPhase = '' + mkdir -p $out/{bin,lib,share/extension} + + cp *.so $out/lib + cp *.sql $out/share/extension + cp *.control $out/share/extension + ''; + + meta = with stdenv.lib; { + description = "Temporal Tables PostgreSQL Extension "; + homepage = https://github.com/mlt/temporal_tables; + maintainers = with maintainers; [ ggpeti ]; + platforms = postgresql.meta.platforms; + license = licenses.bsd2; + }; +} |