nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{ lib, fetchFromGitHub, buildGoModule }:
2
3buildGoModule rec {
4 pname = "dwarf2json";
5 version = "unstable-2021-04-15";
6
7 src = fetchFromGitHub {
8 owner = "volatilityfoundation";
9 repo = "dwarf2json";
10 rev = "e8a1ce85dc33bf2039adc7f8a5f47f3016153720";
11 sha256 = "sha256-hnS00glAcj78mZp5as63CsEn+dcr+GNEkz8iC3KM0h0=";
12 };
13
14 vendorSha256 = "sha256-tgs0l+sYdAxMHwVTew++keNpDyrHmevpmOBVIiuL+34=";
15
16 meta = with lib; {
17 homepage = "https://github.com/volatilityfoundation/dwarf2json";
18 description = "Convert ELF/DWARF symbol and type information into vol3's intermediate JSON";
19 license = licenses.vol-sl;
20 maintainers = with maintainers; [ arkivm ];
21 };
22}