mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-21 21:23:06 +00:00
f41125d2cf
This release contains official support for TimescaleDB 2.0 (single-node) as well as various bug fixes and code cleanup. Please note that multinode support is still in alpha and automatic upgrades of multinode deployments to future versions is not yet guaranteed (we hope to support this starting with the next release). Please only use multimode deployments for testing only. Notes for people upgrading from 0.1.3: - The dropChunk property in the Promscale Helm chart is renamed to maintenance. The drop-chunks CRON job is now renamed to maintenance, you will need to replace the dropChunk.schedule value with maintenance.schedule. Notes for multinode deployments - This should only be used for testing, not production deployments - In particular, we are not guaranteeing upgrades from 0.1.4 to future versions in multinode deployments. - All nodes have to be added to the cluster before starting Promscale; adding nodes afterwards is not yet supported.
31 lines
871 B
Nix
31 lines
871 B
Nix
{ stdenv
|
|
, buildGoModule
|
|
, fetchFromGitHub
|
|
}:
|
|
|
|
buildGoModule rec {
|
|
pname = "promscale";
|
|
version = "0.1.4";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "timescale";
|
|
repo = pname;
|
|
rev = version;
|
|
sha256 = "0179sw5zx552y14lr56adxcgas642xvxpqly6y4m9pi33r1gs8lj";
|
|
};
|
|
|
|
vendorSha256 = "sha256:04gzf0siz96ar4qdkcw6daswy14i1zvl7ir200adhw1c5phppab6";
|
|
|
|
buildFlagsArray = [ "-ldflags=-s -w -X github.com/timescale/promscale/pkg/version.Version=${version} -X github.com/timescale/promscale/pkg/version.CommitHash=${src.rev}" ];
|
|
|
|
doCheck = false; # Requires access to a docker daemon
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "An open-source analytical platform for Prometheus metrics";
|
|
homepage = "https://github.com/timescale/promscale";
|
|
license = licenses.asl20;
|
|
platforms = platforms.unix;
|
|
maintainers = with maintainers; [ _0x4A6F ];
|
|
};
|
|
}
|