phlare: remove

Upstream project is archived, doesn't build anymore with supported Go toolchains.
Successor is pyroscope, which currently isn't packaged (https://github.com/NixOS/nixpkgs/pull/271139 still open).

Signed-off-by: Paul Meyer <katexochen0@gmail.com>
This commit is contained in:
Paul Meyer
2025-03-27 22:25:47 +01:00
parent 7f51f3603d
commit bfc4ad96e3
2 changed files with 1 additions and 48 deletions

View File

@@ -1,48 +0,0 @@
{
lib,
buildGo122Module,
fetchFromGitHub,
}:
# breaks in go 1.23 with `invalid reference to runtime.aeskeysched`
# won't be fixed upstream since the repository is archived.
buildGo122Module rec {
pname = "phlare";
version = "0.6.1";
src = fetchFromGitHub {
rev = "v${version}";
owner = "grafana";
repo = "phlare";
sha256 = "sha256-iaNwOV8XP6H8DDs2HcOIIl8sNM6Xi5VsRxSb80mvvLo=";
};
proxyVendor = true;
vendorHash = "sha256-l7+iDT9GAP9BX+xKvnx57iVF8wCM1YyHwq6dD9PbTDI=";
ldflags =
let
prefix = "github.com/grafana/phlare/pkg/util/build";
in
[
"-s"
"-w"
# https://github.com/grafana/phlare/blob/v0.6.1/Makefile#L32
"-X ${prefix}.Version=${version}"
"-X ${prefix}.Branch=v${version}"
"-X ${prefix}.Revision=v${version}"
"-X ${prefix}.BuildUser=nix"
"-X ${prefix}.BuildDate=1980-01-01T00:00:00Z"
];
subPackages = [
"cmd/phlare"
"cmd/profilecli"
];
meta = with lib; {
description = "Grafana Phlare is an open source database that provides fast, scalable, highly available, and efficient storage and querying of profiling data";
license = licenses.agpl3Only;
homepage = "https://grafana.com/oss/phlare";
maintainers = with maintainers; [ cathalmullan ];
};
}

View File

@@ -1347,6 +1347,7 @@ mapAliases {
pg-gvm = throw "pg-gvm has been moved to postgresql.pkgs.pg-gvm to make it work with all versions of PostgreSQL"; # added 2024-11-30
pgadmin = pgadmin4;
pharo-spur64 = pharo; # Added 2022-08-03
phlare = throw "'phlare' has been removed as the upstream project was archived."; # Added 2025-03-27
picom-next = picom; # Added 2024-02-13
pict-rs_0_3 = throw "pict-rs_0_3 has been removed, as it was an outdated version and no longer compiled"; # Added 2024-08-20