{ lib, rustPlatform, fetchFromGitHub, nix-update-script, }: rustPlatform.buildRustPackage rec { pname = "desed"; version = "1.2.2"; src = fetchFromGitHub { owner = "SoptikHa2"; repo = "desed"; rev = "refs/tags/v${version}"; hash = "sha256-aKkOs8IhnHjoJkXq9ryGn9fN0AmZyVTHbD/Vano+Erw="; }; cargoHash = "sha256-3bkNirrvBOqIOhxD5xf3XsdaUMWFVT/lnN3gmZQIB9I="; passthru.updateScript = nix-update-script { }; meta = { changelog = "https://github.com/SoptikHa2/desed/releases/tag/v${version}"; description = "Debugger for Sed: demystify and debug your sed scripts, from comfort of your terminal"; homepage = "https://github.com/SoptikHa2/desed"; license = lib.licenses.gpl3Only; maintainers = with lib.maintainers; [ vinylen ]; mainProgram = "desed"; }; }