{ lib, rustPlatform, ytcc, makeWrapper, }: rustPlatform.buildRustPackage { pname = "yts"; version = "0.1.0"; src = ./.; cargoHash = "sha256-vtf58M+qTEbgqSMFgaB67mhI4cEXtlQFMTbgmWFoxX4="; buildNoDefaultFeatures = true; buildFeatures = ["yts"]; nativeBuildInputs = [ makeWrapper ]; postInstall = '' wrapProgram $out/bin/yts \ --set PATH ${lib.makeBinPath [ytcc]} ''; }