btfdump: init at 0.0.4

This is required to run tests for bpf-linker

+30
+30
pkgs/by-name/bt/btfdump/package.nix
··· 1 + { 2 + lib, 3 + stdenv, 4 + rustPlatform, 5 + fetchCrate, 6 + cargo-hack, 7 + rustc, 8 + zlib, 9 + libxml2, 10 + }: 11 + 12 + rustPlatform.buildRustPackage rec { 13 + pname = "btfdump"; 14 + version = "0.0.4"; 15 + 16 + src = fetchCrate { 17 + inherit pname version; 18 + hash = "sha256-iLYGFXB4goiY7eJXXBhX9Y1TOltsW40ogeBhvTV2NvU="; 19 + }; 20 + 21 + cargoHash = "sha256-uGp9XaqepceUmaEKBVEcu8oorfMAOk8BCPIHtun8Sto="; 22 + 23 + meta = { 24 + description = "BTF introspection tool"; 25 + mainProgram = "btf"; 26 + homepage = "https://github.com/anakryiko/btfdump"; 27 + license = with lib.licenses; [ bsd2 ]; 28 + maintainers = [ ]; 29 + }; 30 + }