summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikolay Korotkiy <sikmir@disroot.org>2023-02-11 00:09:30 +0400
committerGitHub <noreply@github.com>2023-02-11 00:09:30 +0400
commit5c4a6ca67d19c599d871b588761f19d6502fe35a (patch)
treea9df19bbd4f4696c4a1599a4d578118b68af7710
parentMerge pull request #214551 from atorres1985-contrib/wtfis (diff)
parentcudatext: fix gtk2 build (diff)
downloadnixpkgs-5c4a6ca67d19c599d871b588761f19d6502fe35a.tar.gz
Merge pull request #202881 from r-ryantm/auto-update/cudatext
cudatext: 1.176.0 -> 1.183.0
-rw-r--r--pkgs/applications/editors/cudatext/default.nix10
-rw-r--r--pkgs/applications/editors/cudatext/deps.json28
2 files changed, 21 insertions, 17 deletions
diff --git a/pkgs/applications/editors/cudatext/default.nix b/pkgs/applications/editors/cudatext/default.nix
index 7af47c46485a..98b280f332de 100644
--- a/pkgs/applications/editors/cudatext/default.nix
+++ b/pkgs/applications/editors/cudatext/default.nix
@@ -38,13 +38,13 @@ let
in
stdenv.mkDerivation rec {
pname = "cudatext";
- version = "1.176.0";
+ version = "1.183.0";
src = fetchFromGitHub {
owner = "Alexey-T";
repo = "CudaText";
rev = version;
- hash = "sha256-7J/FAcmZYmgbmYEFm2V3+RBUcLE+8A+yOiJd/xp2Aww=";
+ hash = "sha256-hfOEL1Qkf8Sk6cNWUBwZXH/DSuo/ObyA5sRLOj9Iw3M=";
};
postPatch = ''
@@ -66,8 +66,12 @@ stdenv.mkDerivation rec {
NIX_LDFLAGS = "--as-needed -rpath ${lib.makeLibraryPath buildInputs}";
buildPhase = lib.concatStringsSep "\n" (lib.mapAttrsToList (name: dep: ''
- ln -s ${dep} ${name}
+ cp -r ${dep} ${name}
'') deps) + ''
+ # See https://wiki.freepascal.org/CudaText#How_to_compile_CudaText
+ substituteInPlace ATSynEdit/atsynedit/atsynedit_package.lpk \
+ --replace GTK2_IME_CODE _GTK2_IME_CODE
+
lazbuild --lazarusdir=${lazarus}/share/lazarus --pcp=./lazarus --ws=${widgetset} \
bgrabitmap/bgrabitmap/bgrabitmappack.lpk \
EncConv/encconv/encconv_package.lpk \
diff --git a/pkgs/applications/editors/cudatext/deps.json b/pkgs/applications/editors/cudatext/deps.json
index 4ae432b946a7..2c6dcdf29135 100644
--- a/pkgs/applications/editors/cudatext/deps.json
+++ b/pkgs/applications/editors/cudatext/deps.json
@@ -1,8 +1,8 @@
{
"EncConv": {
"owner": "Alexey-T",
- "rev": "2022.06.19",
- "hash": "sha256-M00rHH3dG6Vx6MEALxRNlnLLfX/rRI+rdTS7riOhgeg="
+ "rev": "2023.01.02",
+ "hash": "sha256-4/ih4sBDel2wm+YFpNcwHoOrK8AgHe3Jbqxl+CYrQFM="
},
"ATBinHex-Lazarus": {
"owner": "Alexey-T",
@@ -11,13 +11,13 @@
},
"ATFlatControls": {
"owner": "Alexey-T",
- "rev": "2022.11.09",
- "hash": "sha256-2Q1azfhThrk1t65Q+2aRr00V0UFrvR+z5oVMeW9c2ug="
+ "rev": "2023.02.05",
+ "hash": "sha256-ZOnIhUnFd+7mBEz6YIhUOQkhBbCNeTFD0tfUILuC1x4="
},
"ATSynEdit": {
"owner": "Alexey-T",
- "rev": "2022.11.09",
- "hash": "sha256-rgXVOWmmc1ap/fCiXCvn34rhUbNRoMHbTXXYtnxk2pQ="
+ "rev": "2023.02.05",
+ "hash": "sha256-V0mvSuiO5dTztXZ4uvteF0e7B21Ll1uq6o0UHPcZm1o="
},
"ATSynEdit_Cmp": {
"owner": "Alexey-T",
@@ -26,18 +26,18 @@
},
"EControl": {
"owner": "Alexey-T",
- "rev": "2022.08.22",
- "hash": "sha256-o87V32HhFpCeSxhgkfKiL69oCcmpiReVmiNBPyv1kc4="
+ "rev": "2023.01.18",
+ "hash": "sha256-5R4ZHMTfmIF0VnwOFNOV/i6Dc91yk5dVNcFNrxMMzm0="
},
"ATSynEdit_Ex": {
"owner": "Alexey-T",
- "rev": "2022.09.03",
- "hash": "sha256-6xzYn9x5tZLUhLAT9mQ4+UmpEemg386tAjlWdK8j/Ew="
+ "rev": "2023.01.18",
+ "hash": "sha256-SLZIDcrLwvhkJY92e/wtSsoY5SrjghcumbdpuVdK4iE="
},
"Python-for-Lazarus": {
"owner": "Alexey-T",
- "rev": "2022.10.26",
- "hash": "sha256-pVVO3PMazcGizN3RI4zO2tgLJLDOYIKhwnMLBJ5IiwY="
+ "rev": "2023.01.02",
+ "hash": "sha256-NnPrQAqmKg3Lh16Qp/LZVS4JRtAxXi3qRovLTbzUyYQ="
},
"Emmet-Pascal": {
"owner": "Alexey-T",
@@ -51,7 +51,7 @@
},
"bgrabitmap": {
"owner": "bgrabitmap",
- "rev": "v11.5.2",
- "hash": "sha256-aGNKkLDbGTeFgFEhuX7R2BXhnllsanJmk4k+1muiSD8="
+ "rev": "v11.5.3",
+ "hash": "sha256-qjBD9TVZQy1tKWHFWkuu6vdLjASzQb3+HRy0FLdd9a8="
}
}