summaryrefslogtreecommitdiff
path: root/pkgs/servers/sql/postgresql/ext/temporal_tables.nix
blob: 07b4796225a317c9934aef9bf0c1b4c0a273f6f8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{
  fetchFromGitHub,
  lib,
  postgresql,
  postgresqlBuildExtension,
}:

postgresqlBuildExtension (finalAttrs: {
  pname = "temporal_tables";
  version = "1.2.2";

  src = fetchFromGitHub {
    owner = "arkhipov";
    repo = "temporal_tables";
    tag = "v${finalAttrs.version}";
    hash = "sha256-7+DCSPAPhsokWDq/5IXNhd7jY6FfzxxUjlsg/VJeD3k=";
  };

  meta = {
    description = "Temporal Tables PostgreSQL Extension";
    homepage = "https://github.com/arkhipov/temporal_tables";
    maintainers = with lib.maintainers; [ ggpeti ];
    platforms = postgresql.meta.platforms;
    license = lib.licenses.bsd2;
  };
})