mirror of
https://github.com/CHN-beta/nixpkgs.git
synced 2026-01-12 02:40:31 +08:00
43 lines
1.1 KiB
Nix
43 lines
1.1 KiB
Nix
{
|
|
buildPgrxExtension,
|
|
cargo-pgrx_0_12_6,
|
|
fetchFromGitHub,
|
|
lib,
|
|
nix-update-script,
|
|
postgresql,
|
|
}:
|
|
|
|
(buildPgrxExtension.override { cargo-pgrx = cargo-pgrx_0_12_6; }) (finalAttrs: {
|
|
inherit postgresql;
|
|
|
|
pname = "timescaledb_toolkit";
|
|
version = "1.21.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "timescale";
|
|
repo = "timescaledb-toolkit";
|
|
tag = finalAttrs.version;
|
|
hash = "sha256-gGGSNvvJprqLkVwPr7cfmGY1qEUTXMdqdvwPYIzXaTA=";
|
|
};
|
|
|
|
cargoHash = "sha256-kyUpfNEXJ732VO6JDxU+dIoL57uWzG4Ff03/GnvsxLE=";
|
|
buildAndTestSubdir = "extension";
|
|
|
|
passthru = {
|
|
updateScript = nix-update-script { };
|
|
tests = postgresql.pkgs.timescaledb.tests;
|
|
};
|
|
|
|
# tests take really long
|
|
doCheck = false;
|
|
|
|
meta = {
|
|
description = "Provide additional tools to ease all things analytic when using TimescaleDB";
|
|
homepage = "https://github.com/timescale/timescaledb-toolkit";
|
|
maintainers = with lib.maintainers; [ typetetris ];
|
|
platforms = postgresql.meta.platforms;
|
|
license = lib.licenses.tsl;
|
|
broken = lib.versionOlder postgresql.version "15";
|
|
};
|
|
})
|