{ lib, pkgs }: let rustPlatform = pkgs.makeRustPlatform { cargo = pkgs.rust-bin.selectLatestNightlyWith (toolchain: toolchain.default); rustc = pkgs.rust-bin.selectLatestNightlyWith (toolchain: toolchain.default); }; in rustPlatform.buildRustPackage (finalAttrs: { pname = "edit"; version = "1.0.0"; src = ./.; cargoHash = "sha256-DEzjfrXSmum/GJdYanaRDKxG4+eNPWf5echLhStxcIg="; meta = { description = "We all edit."; homepage = "https://github.com/microsoft/edit"; license = lib.licenses.mit; maintainers = [ ]; }; })