{ rustPlatform }: rustPlatform.buildRustPackage { pname = "some-rust-package"; version = "0.0.1"; src = ./.; cargoLock.lockFile = ./Cargo.lock; }