parca-debuginfo: init at 0.11.0
This commit is contained in:
parent
a23730505e
commit
c0f61fe3d4
34
pkgs/by-name/pa/parca-debuginfo/package.nix
Normal file
34
pkgs/by-name/pa/parca-debuginfo/package.nix
Normal file
@ -0,0 +1,34 @@
|
||||
{
|
||||
lib,
|
||||
buildGoModule,
|
||||
fetchFromGitHub,
|
||||
}:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "parca-debuginfo";
|
||||
version = "0.11.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "parca-dev";
|
||||
repo = "parca-debuginfo";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-gL1BgDtEf2Q7yxzpoiTJY+nsRlsWv3zYzLVvaVijMDM=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-xtKkKhKQmZcCIFTOH+oM5a2cPlAWlJPRNQWfrAl2948=";
|
||||
|
||||
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";
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user