{ lib, gccStdenv, fetchFromGitHub, }: gccStdenv.mkDerivation (finalAttrs: { pname = "your-editor"; version = "1601"; src = fetchFromGitHub { owner = "your-editor"; repo = "yed"; tag = finalAttrs.version; hash = "sha256-pa9ibXyuWq7jRYsn3bGdqvLWbwQO2VYsP6Bk+BayQ8o="; }; strictDeps = true; __structuredAttrs = true; installPhase = '' runHook preInstall patchShebangs install.sh ./install.sh -p $out runHook postInstall ''; meta = { description = "Small and simple terminal editor core that is meant to be extended through a powerful plugin architecture"; homepage = "https://your-editor.org/"; changelog = "https://github.com/your-editor/yed/blob/${finalAttrs.version}/CHANGELOG.md"; license = lib.licenses.mit; platforms = lib.platforms.unix; mainProgram = "yed"; }; })