Kirill Radzikhovskyy 2024-10-13 20:15:52 +11:00
parent 4099ca5139
commit 86706a140b

View File

@ -2,7 +2,7 @@
buildPostgresqlExtension rec {
pname = "timescaledb${lib.optionalString (!enableUnfree) "-apache"}";
version = "2.14.2";
version = "2.17.2";
nativeBuildInputs = [ cmake ];
buildInputs = [ openssl libkrb5 ];
@ -11,7 +11,7 @@ buildPostgresqlExtension rec {
owner = "timescale";
repo = "timescaledb";
rev = version;
hash = "sha256-gJViEWHtIczvIiQKuvvuwCfWJMxAYoBhCHhD75no6r0=";
hash = "sha256-gPsAebMUBuAwP6Hoi9/vrc2IFsmTbL0wQH1g6/2k2d4=";
};
cmakeFlags = [ "-DSEND_TELEMETRY_DEFAULT=OFF" "-DREGRESS_CHECKS=OFF" "-DTAP_CHECKS=OFF" ]
@ -41,11 +41,6 @@ buildPostgresqlExtension rec {
maintainers = [ maintainers.kirillrdy ];
platforms = postgresql.meta.platforms;
license = with licenses; if enableUnfree then tsl else asl20;
broken = versionOlder postgresql.version "13" ||
# timescaledb supports PostgreSQL 17 from 2.17.0 on:
# https://github.com/timescale/timescaledb/releases/tag/2.17.0
# We can't upgrade to it, yet, because this would imply dropping support for
# PostgreSQL 13, which is a breaking change.
(versionAtLeast postgresql.version "17" && version == "2.14.2");
broken = versionOlder postgresql.version "14";
};
}