{ lib, rustPlatform, ytcc, makeWrapper, }: rustPlatform.buildRustPackage { pname = "yts"; version = "0.1.0"; src = ./.; cargoLock = { lockFile = ./Cargo.lock; }; buildNoDefaultFeatures = true; buildFeatures = ["yts"]; nativeBuildInputs = [ makeWrapper ]; postInstall = '' wrapProgram $out/bin/yts \ --prefix PATH : ${lib.makeBinPath [ytcc]} ''; }