timescaledb-toolkit: init at 1.14.0

Changed files
+39
pkgs
servers
+37
pkgs/servers/sql/postgresql/ext/timescaledb_toolkit.nix
···
···
+
{ lib
+
, fetchFromGitHub
+
, buildPgxExtension
+
, postgresql
+
, stdenv
+
}:
+
+
buildPgxExtension rec {
+
inherit postgresql;
+
+
pname = "timescaledb_toolkit";
+
version = "1.14.0";
+
+
src = fetchFromGitHub {
+
owner = "timescale";
+
repo = "timescaledb-toolkit";
+
rev = version;
+
sha256 = "sha256-ADmYALsCzZGqTX0XSkCif7ndvXwa8nEqddQpty4hbZ0=";
+
};
+
+
cargoSha256 = "sha256-ukjJ11LmfG+k8D20rj68i43gOWUN80nf3hIAjUWXihI=";
+
buildAndTestSubdir = "extension";
+
+
# tests take really long
+
doCheck = false;
+
+
meta = with lib; {
+
description = "Provide additional tools to ease all things analytic when using TimescaleDB";
+
homepage = "https://github.com/timescale/timescaledb-toolkit";
+
maintainers = with maintainers; [ typetetris ];
+
platforms = postgresql.meta.platforms;
+
license = licenses.asl20;
+
+
# as it needs to be used with timescaledb, simply use the condition from there
+
broken = versionOlder postgresql.version "12";
+
};
+
}
+2
pkgs/servers/sql/postgresql/packages.nix
···
timescaledb = super.callPackage ./ext/timescaledb.nix { };
tsearch_extras = super.callPackage ./ext/tsearch_extras.nix { };
tds_fdw = super.callPackage ./ext/tds_fdw.nix { };
···
timescaledb = super.callPackage ./ext/timescaledb.nix { };
+
timescaledb_toolkit = super.callPackage ./ext/timescaledb_toolkit.nix { };
+
tsearch_extras = super.callPackage ./ext/tsearch_extras.nix { };
tds_fdw = super.callPackage ./ext/tds_fdw.nix { };