{ lib, rustPlatform, fetchFromGitHub, }: rustPlatform.buildRustPackage rec { pname = "scooter"; version = "0.2.1"; src = fetchFromGitHub { owner = "thomasschafer"; repo = "scooter"; rev = "v${version}"; hash = "sha256-dojVVBdXBtWvD/YIfouRmnsf1AWgfB3CYjH2KhtCsvI="; }; cargoHash = "sha256-moRqtxLMO/7fBNpq6Xcnzu9HgmE2vDf0xn9SlvY8ZU0="; meta = { description = "Interactive find and replace in the terminal"; homepage = "https://github.com/thomasschafer/scooter"; changelog = "https://github.com/thomasschafer/scooter/commits/v${version}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ felixzieger ]; mainProgram = "scooter"; }; }