Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

35 lines
851 B
Nix
Raw Permalink Normal View History

2024-11-29 14:49:42 +00:00
{
lib,
buildGoModule,
fetchFromGitHub,
}:
buildGoModule rec {
pname = "parca-debuginfo";
2025-07-01 19:14:47 +00:00
version = "0.12.2";
2024-11-29 14:49:42 +00:00
src = fetchFromGitHub {
owner = "parca-dev";
repo = "parca-debuginfo";
tag = "v${version}";
2025-07-01 19:14:47 +00:00
hash = "sha256-tJ3Xc5b9XnTL460u11RkCmbIc41vHKql/oZ7enTaPgQ=";
2024-11-29 14:49:42 +00:00
};
2025-01-21 15:55:00 +00:00
vendorHash = "sha256-bH7Y1y9BDMQJGtYfEaSrq+sWVLnovvV/uGbutJUXV2w=";
2024-11-29 14:49:42 +00:00
ldflags = [
"-X=main.version=${version}"
"-X=main.commit=${src.rev}"
];
meta = {
description = "Command line utility for handling debuginfos";
changelog = "https://github.com/parca-dev/parca-debuginfo/releases/tag/v${version}";
homepage = "https://github.com/parca-dev/parca-debuginfo";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ jnsgruk ];
platforms = lib.platforms.unix;
mainProgram = "parca-debuginfo";
};
}