Change:
I stumbled across the packages the other day, and after investigating a bit I think they should be merged. Is there a procedure or set of best practices for merging two packages? There are 2 separate packages: , which is located in , and is on textadept v10.8. , which is located in , and is at the current release of textadept, v11.3. I was the one who recently pinned/updated these packages, but previous updates for version 11 have gone into with no backporting to , which is why I kept on v10. AFAICT, there is no reason these should be separate packages. They were split in because someone wanted access to the v11 beta, and the changes have carried forward since. There seems to be no breaking change or issue between v10 and v11.
If 11 is stable and there is no need anymore for 10 we should drop then and make 11 the default attribute.
Hi, So, I'm the one who wanted to try the beta :sweatsmile: Let me describe my point: 10 and v11 are two major versions - they have . So some plugins (and so on) from . was the first time I contributed to - and I still do not know when to migrate a package from one major version to the next. So, please, tell me more about this topic! :sweatsmile: I, personally, don't have any problems to use old versions like so: As a sidenote: I've tried nixos-22.05 ~a week ago and it fails to build on Textadept. Something with QScintilla - does it builds for you,
Hi I am new to contributing around here as well so I'm figuring this out as I go along :) I fixed the build for both Textadept versions in and , and that was how I noticed this oddity with the package names. With the package names, it generally makes the most sense to have refer to the current latest version of the project (11.3 at the moment). If there's good reason to keep the old version around then maybe we want to go back and add a that is pinned to stay on v10.8, as per the conventions in . The wiki pages talking about incompatible plugins is over a year old, so I assumed that the plugins were mostly updated for v11 and that v10 was no longer used. But it seems that I may have been wrong. You are more familiar with using this program than I am. If you think it's necessary to keep v10 around then I'll support it. With Nix, there are of course ways to keep using prior versions, but it seems like there may be a reason that users would choose to continue using that specific version.
hi again! Sorry it took so long to answer. Thanks for versioning conventions, now I know :sweat_smile: But I've started using Textadept from v11 and cannot be sure for v10 users :/ From : I get the versioning conventions, but how to decide when to leave older major version? ... differ significantly in functionality seems to be a little unclear. Maybe there is some discussion or voting process? Not saying we should start it in this case though, just curious. If you ask me, I agree to leave only v11 (as just package). Also, thank you for maintaining the package :wink:

Discussion:
githubId = 6931743; name = "pasqui23"; }; <ins> patricksjackson = { email = "patrick@jackson.dev"; github = "patricksjackson"; githubId = 160646; name = "Patrick Jackson"; }; </ins> patryk27 = { email = "pwychowaniec@pm.me"; github = "Patryk27";

<del> { lib, gcc10Stdenv, fetchhg, fetchurl, gtk2, glib, pkg-config, unzip, ncurses, zip }: gcc10Stdenv.mkDerivation rec { version = "10.8"; pname = "textadept"; nativeBuildInputs = [ pkg-config unzip ]; buildInputs = [ gtk2 ncurses glib zip ]; src = fetchhg { url = "http://foicica.com/hg/textadept"; rev = "textadept_${version}"; sha256 = "sha256-dEZSx2tuHTWYhk9q5iGlrWTAvDvKaM8HaHwXcFcv33s="; }; preConfigure = lib.concatStringsSep "n" (lib.mapAttrsToList (name: params: "ln -s ${fetchurl params} $PWD/src/${name}" ) (import ./deps.nix)) + '' cd src make deps ''; postBuild = '' make curses ''; preInstall = '' mkdir -p $out/share/applications mkdir -p $out/share/pixmaps ''; postInstall = '' make curses install PREFIX=$out MAKECMDGOALS=curses ''; makeFlags = [ "PREFIX=$(out) WGET=true PIXMAPS_DIR=$(out)/share/pixmaps" ]; meta = with lib; { description = "An extensible text editor based on Scintilla with Lua scripting"; homepage = "http://foicica.com/textadept"; license = licenses.mit; maintainers = with maintainers; [ raskin mirrexagon ]; platforms = platforms.linux; }; } </del>

<del> { "99fa62b828ee.zip" = { url = "http://foicica.com/hg/scintilla/archive/99fa62b828ee.zip"; sha256 = "sha256-QO4iGhx72CfB1/0Pp/Qab92qm98VZn/EkrHZGndoHVc="; }; "lua-5.3.5.tar.gz" = { url = "http://www.lua.org/ftp/lua-5.3.5.tar.gz"; sha256 = "1b2qn2rv96nmbm6zab4l877bd4zq7wpwm8drwjiy2ih4jqzysbhc"; }; "lpeg-1.0.2.tar.gz" = { url = "http://www.inf.puc-rio.br/~roberto/lpeg/lpeg-1.0.2.tar.gz"; sha256 = "sha256-SNZldgUbbHg4j6rQm3BJMJMmRYj80PJY3aqxzdShX/4="; }; "v1_7_0_2.zip" = { url = "https://github.com/keplerproject/luafilesystem/archive/v1_7_0_2.zip"; sha256 = "sha256-kXSriR8dOStCpYeyr7c3+VZez4qGDS5aK/9FeFj1hHg="; }; "db67f8a489e8.zip" = { url = "http://foicica.com/hg/gtdialog/archive/db67f8a489e8.zip"; sha256 = "sha256-UIvjbDrg3jyz7t2tm4y1zzH/TG6Kqaz3LE5y2U6OHuM="; }; "cdk-5.0-20150928.tgz" = { url = "http://invisible-mirror.net/archives/cdk/cdk-5.0-20150928.tgz"; sha256 = "0j74l874y33i26y5kjg3pf1vswyjif8k93pqhi0iqykpbxfsg382"; }; "libtermkey-0.20.tar.gz" = { url = "http://www.leonerd.org.uk/code/libtermkey/libtermkey-0.20.tar.gz"; sha256 = "1xfj6lchhfljmbcl6dz8dpakppyy13nbl4ykxiv5x4dr9b4qf3bc"; }; "pdcurs36.zip" = { url = "http://prdownloads.sourceforge.net/pdcurses/pdcurs36.zip"; sha256 = "0y91zpygrxms7d1l5ksrz42bkvq8jd2xqlj5j7wgyxcl58chcw9b"; }; "bombay.zip" = { url = "http://foicica.com/hg/bombay/archive/b25520cc76bb.zip"; sha256 = "07spq7jmkfyq20gv67yffara3ln3ns2xi0k02m2mxdms3xm1q36h"; }; "cloc-1.60.pl" = { url = "http://prdownloads.sourceforge.net/cloc/cloc-1.60.pl"; sha256 = "0p504bi19va3dh274v7lb7giqrydwa5yyry60f7jpz84y6z71a2a"; }; } </del>

<del> { lib, stdenv, fetchFromGitHub, fetchurl, gtk2, glib, pkg-config, unzip, ncurses, zip }: stdenv.mkDerivation rec { version = "11.3"; pname = "textadept11"; nativeBuildInputs = [ pkg-config unzip zip ]; buildInputs = [ gtk2 ncurses glib ]; enableParallelBuilding = true; src = fetchFromGitHub { name = "textadept11"; owner = "orbitalquark"; repo = "textadept"; rev = "textadept_${version}"; sha256 = "sha256-C7J/Qr/58hLbyw39R+GU4wot1gbAXf51Cv6KGk3kg30="; }; preConfigure = lib.concatStringsSep "n" (lib.mapAttrsToList (name: params: "ln -s ${fetchurl params} $PWD/src/${name}" ) (import ./deps.nix)) + '' cd src make deps ''; postBuild = '' make curses ''; preInstall = '' mkdir -p $out/share/applications mkdir -p $out/share/pixmaps ''; postInstall = '' make curses install PREFIX=$out MAKECMDGOALS=curses ''; makeFlags = [ "PREFIX=$(out)" "WGET=true" "PIXMAPS_DIR=$(out)/share/pixmaps" ]; meta = with lib; { description = "An extensible text editor based on Scintilla with Lua scripting."; homepage = "http://foicica.com/textadept"; license = licenses.mit; maintainers = with maintainers; [ raskin mirrexagon ]; platforms = platforms.linux; }; } </del>

<del> { "scintilla514.tgz" = { url = "https://www.scintilla.org/scintilla514.tgz"; sha256 = "sha256-3IJcVUmJBWsmMURsfKKLFHyUw2XZI90Kkoq3oR3To2U="; }; "lexilla510.tgz" = { url = "https://www.scintilla.org/lexilla510.tgz"; sha256 = "sha256-azWVJ0AFSYZxuFTPV73uwiVJZvNxcS/POnFtl6p/P9g="; }; "475d8d43f3418590c28bd2fb07ee9229d1fa2d07.zip" = { url = "https://github.com/orbitalquark/scinterm/archive/475d8d43f3418590c28bd2fb07ee9229d1fa2d07.zip"; sha256 = "sha256-lNMK0RFcOLg9RRE5a6VelhSzUYVl5TiAiXcje2JOedE="; }; "4cb1464ef738a098f008d6530b776fe780b19c34.zip" = { url = "https://github.com/orbitalquark/scintillua/archive/4cb1464ef738a098f008d6530b776fe780b19c34.zip"; sha256 = "sha256-OgmZ5iWnjG1cI6wprHOyeLY86DcLpU/4omGJ6stEe0c="; }; "lua-5.4.2.tar.gz" = { url = "http://www.lua.org/ftp/lua-5.4.2.tar.gz"; sha256 = "sha256-EVcNl+nXMDwKWVZ+0ax8ZINAzQ2xDV/VlMCSI+8vUk8="; }; "lpeg-1.0.2.tar.gz" = { url = "http://www.inf.puc-rio.br/~roberto/lpeg/lpeg-1.0.2.tar.gz"; sha256 = "sha256-SNZldgUbbHg4j6rQm3BJMJMmRYj80PJY3aqxzdShX/4="; }; "v1_8_0.zip" = { url = "https://github.com/keplerproject/luafilesystem/archive/v1_8_0.zip"; sha256 = "sha256-46a+ynqKkFIu7THbbM3F7WWkM4JlAMaGJ4TidnG54Yo="; }; "gtdialog_1.5.zip" = { url = "https://github.com/orbitalquark/gtdialog/archive/gtdialog_1.5.zip"; sha256 = "sha256-kk85ajgMG0okUwPAyL0TYq6BfS5cuyFmsk6i8pn7pbw="; }; "cdk-5.0-20200923.tgz" = { url = "http://invisible-mirror.net/archives/cdk/cdk-5.0-20200923.tgz"; sha256 = "sha256-AH9d6IDLLuvYVW335M2Gc9XmTJlwFH7uaSOoFMKfqu0="; }; "libtermkey-0.20.tar.gz" = { url = "http://www.leonerd.org.uk/code/libtermkey/libtermkey-0.20.tar.gz"; sha256 = "sha256-bA2HyUq5kV527NMTuuwI3t871W3oN0PZqpI6CBk10vU="; }; } </del>

<ins> { lib, stdenv, fetchFromGitHub, fetchurl, gtk2, glib, pkg-config, unzip, ncurses, zip }: stdenv.mkDerivation rec { version = "11.3"; pname = "textadept"; nativeBuildInputs = [ pkg-config unzip zip ]; buildInputs = [ gtk2 ncurses glib ]; enableParallelBuilding = true; src = fetchFromGitHub { name = "textadept11"; owner = "orbitalquark"; repo = "textadept"; rev = "textadept_${version}"; sha256 = "sha256-C7J/Qr/58hLbyw39R+GU4wot1gbAXf51Cv6KGk3kg30="; }; preConfigure = lib.concatStringsSep "n" (lib.mapAttrsToList (name: params: "ln -s ${fetchurl params} $PWD/src/${name}" ) (import ./deps.nix)) + '' cd src make deps ''; postBuild = '' make curses ''; preInstall = '' mkdir -p $out/share/applications mkdir -p $out/share/pixmaps ''; postInstall = '' make curses install PREFIX=$out MAKECMDGOALS=curses ''; makeFlags = [ "PREFIX=$(out)" "WGET=true" "PIXMAPS_DIR=$(out)/share/pixmaps" ]; meta = with lib; { description = "An extensible text editor based on Scintilla with Lua scripting."; homepage = "http://foicica.com/textadept"; license = licenses.mit; maintainers = with maintainers; [ raskin mirrexagon patricksjackson ]; platforms = platforms.linux; }; } </ins>

<ins> { "scintilla514.tgz" = { url = "https://www.scintilla.org/scintilla514.tgz"; sha256 = "sha256-3IJcVUmJBWsmMURsfKKLFHyUw2XZI90Kkoq3oR3To2U="; }; "lexilla510.tgz" = { url = "https://www.scintilla.org/lexilla510.tgz"; sha256 = "sha256-azWVJ0AFSYZxuFTPV73uwiVJZvNxcS/POnFtl6p/P9g="; }; "475d8d43f3418590c28bd2fb07ee9229d1fa2d07.zip" = { url = "https://github.com/orbitalquark/scinterm/archive/475d8d43f3418590c28bd2fb07ee9229d1fa2d07.zip"; sha256 = "sha256-lNMK0RFcOLg9RRE5a6VelhSzUYVl5TiAiXcje2JOedE="; }; "4cb1464ef738a098f008d6530b776fe780b19c34.zip" = { url = "https://github.com/orbitalquark/scintillua/archive/4cb1464ef738a098f008d6530b776fe780b19c34.zip"; sha256 = "sha256-OgmZ5iWnjG1cI6wprHOyeLY86DcLpU/4omGJ6stEe0c="; }; "lua-5.4.2.tar.gz" = { url = "http://www.lua.org/ftp/lua-5.4.2.tar.gz"; sha256 = "sha256-EVcNl+nXMDwKWVZ+0ax8ZINAzQ2xDV/VlMCSI+8vUk8="; }; "lpeg-1.0.2.tar.gz" = { url = "http://www.inf.puc-rio.br/~roberto/lpeg/lpeg-1.0.2.tar.gz"; sha256 = "sha256-SNZldgUbbHg4j6rQm3BJMJMmRYj80PJY3aqxzdShX/4="; }; "v1_8_0.zip" = { url = "https://github.com/keplerproject/luafilesystem/archive/v1_8_0.zip"; sha256 = "sha256-46a+ynqKkFIu7THbbM3F7WWkM4JlAMaGJ4TidnG54Yo="; }; "gtdialog_1.5.zip" = { url = "https://github.com/orbitalquark/gtdialog/archive/gtdialog_1.5.zip"; sha256 = "sha256-kk85ajgMG0okUwPAyL0TYq6BfS5cuyFmsk6i8pn7pbw="; }; "cdk-5.0-20200923.tgz" = { url = "http://invisible-mirror.net/archives/cdk/cdk-5.0-20200923.tgz"; sha256 = "sha256-AH9d6IDLLuvYVW335M2Gc9XmTJlwFH7uaSOoFMKfqu0="; }; "libtermkey-0.20.tar.gz" = { url = "http://www.leonerd.org.uk/code/libtermkey/libtermkey-0.20.tar.gz"; sha256 = "sha256-bA2HyUq5kV527NMTuuwI3t871W3oN0PZqpI6CBk10vU="; }; } </ins>

texstudio = libsForQt5.callPackage ../applications/editors/texstudio { }; <del> textadept = callPackage ../applications/editors/textadept/10 { }; textadept11 = callPackage ../applications/editors/textadept/11 { stdenv = gcc10StdenvCompat; }; </del> <ins> textadept = callPackage ../applications/editors/textadept { }; </ins> texworks = libsForQt5.callPackage ../applications/editors/texworks { };