blob: 9a8b172e266e9d3734c19d397e0941047fcd59ca (
plain) (
tree)
|
|
{
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]}
'';
}
|