dwarf2json: unstable-2021-04-15 -> 0.9.0 (#417297)

authored by Peder Bergebakken Sundt and committed by GitHub cb42b28a f961e508

+15 -7
+15 -7
pkgs/by-name/dw/dwarf2json/package.nix
··· 2 2 lib, 3 3 fetchFromGitHub, 4 4 buildGoModule, 5 + versionCheckHook, 5 6 }: 6 7 7 - buildGoModule { 8 + buildGoModule (finalAttrs: { 8 9 pname = "dwarf2json"; 9 - version = "unstable-2021-04-15"; 10 + version = "0.9.0"; 10 11 11 12 src = fetchFromGitHub { 12 13 owner = "volatilityfoundation"; 13 14 repo = "dwarf2json"; 14 - rev = "e8a1ce85dc33bf2039adc7f8a5f47f3016153720"; 15 - sha256 = "sha256-hnS00glAcj78mZp5as63CsEn+dcr+GNEkz8iC3KM0h0="; 15 + rev = "v${finalAttrs.version}"; 16 + sha256 = "sha256-M5KKtn5kly23TwbjD5MVLzIum58exXqCFs6jxsg6oGM="; 16 17 }; 17 18 18 - vendorHash = "sha256-tgs0l+sYdAxMHwVTew++keNpDyrHmevpmOBVIiuL+34="; 19 + vendorHash = "sha256-3PnXB8AfZtgmYEPJuh0fwvG38dtngoS/lxyx3H+rvFs="; 20 + 21 + doInstallCheck = true; 22 + nativeInstallCheckInputs = [ versionCheckHook ]; 23 + versionCheckProgramArg = "--version"; 19 24 20 25 meta = with lib; { 21 26 homepage = "https://github.com/volatilityfoundation/dwarf2json"; 22 27 description = "Convert ELF/DWARF symbol and type information into vol3's intermediate JSON"; 23 28 license = licenses.vol-sl; 24 - maintainers = with maintainers; [ arkivm ]; 29 + maintainers = with maintainers; [ 30 + arkivm 31 + asauzeau 32 + ]; 25 33 mainProgram = "dwarf2json"; 26 34 }; 27 - } 35 + })