{ fetchFromGitHub, lib, lz4, lzop, nix-update-script, rustPlatform, }: rustPlatform.buildRustPackage rec { pname = "3cpio"; version = "0.11.0"; src = fetchFromGitHub { owner = "bdrung"; repo = "3cpio"; tag = version; hash = "sha256-TZw9IixZxQ00uFZw6RtAY4zWV22zuuaP6dAB4vkXwaM="; }; cargoHash = "sha256-2IT5zdgUvzeYt81iwYssR/xEp03Qz6+Ll5u02y+R3qo="; # Tests attempt to access arbitrary filepaths doCheck = false; passthru.updateScript = nix-update-script { }; meta = { description = "Manage initrd cpio archives"; homepage = "https://github.com/bdrung/3cpio"; license = lib.licenses.isc; maintainers = [ lib.maintainers.jmbaur ]; mainProgram = "3cpio"; }; }