timescaledb-toolkit: init at 1.14.0

This commit is contained in:
Eric Wolf 2022-10-30 20:37:20 +01:00 committed by Eric Wolf
parent c845a2815f
commit 4e189d769b
2 changed files with 39 additions and 0 deletions

View File

@ -0,0 +1,37 @@
{ 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";
};
}

View File

@ -56,6 +56,8 @@ self: super: {
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 { };