Skip to content

Commit c0f61fe

Browse files
committed
parca-debuginfo: init at 0.11.0
1 parent a237305 commit c0f61fe

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
{
2+
lib,
3+
buildGoModule,
4+
fetchFromGitHub,
5+
}:
6+
7+
buildGoModule rec {
8+
pname = "parca-debuginfo";
9+
version = "0.11.0";
10+
11+
src = fetchFromGitHub {
12+
owner = "parca-dev";
13+
repo = "parca-debuginfo";
14+
rev = "refs/tags/v${version}";
15+
hash = "sha256-gL1BgDtEf2Q7yxzpoiTJY+nsRlsWv3zYzLVvaVijMDM=";
16+
};
17+
18+
vendorHash = "sha256-xtKkKhKQmZcCIFTOH+oM5a2cPlAWlJPRNQWfrAl2948=";
19+
20+
ldflags = [
21+
"-X=main.version=${version}"
22+
"-X=main.commit=${src.rev}"
23+
];
24+
25+
meta = {
26+
description = "Command line utility for handling debuginfos";
27+
changelog = "https://github.com/parca-dev/parca-debuginfo/releases/tag/v${version}";
28+
homepage = "https://github.com/parca-dev/parca-debuginfo";
29+
license = lib.licenses.asl20;
30+
maintainers = with lib.maintainers; [ jnsgruk ];
31+
platforms = lib.platforms.unix;
32+
mainProgram = "parca-debuginfo";
33+
};
34+
}

0 commit comments

Comments
 (0)