Commit 4e189d76 authored by Eric Wolf's avatar Eric Wolf Committed by Eric Wolf
Browse files

timescaledb-toolkit: init at 1.14.0

parent c845a281
Loading
Loading
Loading
Loading
+37 −0
Original line number Diff line number Diff line
{ 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 −0
Original line number Diff line number Diff line
@@ -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 { };