|
2 | 2 | stdenv, |
3 | 3 | lib, |
4 | 4 | fetchFromGitHub, |
5 | | - fetchpatch, |
6 | 5 | pkg-config, |
7 | 6 | autoconf, |
8 | 7 | makeDesktopItem, |
@@ -102,34 +101,15 @@ let |
102 | 101 | in |
103 | 102 | stdenv.mkDerivation (finalAttrs: { |
104 | 103 | pname = "mlterm"; |
105 | | - version = "3.9.3"; |
| 104 | + version = "3.9.4"; |
106 | 105 |
|
107 | 106 | src = fetchFromGitHub { |
108 | 107 | owner = "arakiken"; |
109 | 108 | repo = "mlterm"; |
110 | | - rev = finalAttrs.version; |
111 | | - sha256 = "sha256-gfs5cdwUUwSBWwJJSaxrQGWJvLkI27RMlk5QvDALEDg="; |
| 109 | + tag = finalAttrs.version; |
| 110 | + sha256 = "sha256-YogapVTmW4HAyVgvhR4ZvW4Q6v0kGiW11CCxN6SpPCY="; |
112 | 111 | }; |
113 | 112 |
|
114 | | - patches = [ |
115 | | - (fetchpatch { |
116 | | - name = "mlterm-configure-implicit-function-declaration.patch"; |
117 | | - url = "https://github.com/arakiken/mlterm/commit/1a9ee97e4574c5892bf12090b812b0538dcdf8f2.patch"; |
118 | | - hash = "sha256-Kk+x5LAq+beZWE8yj5WfdS82ConLSgxNquzQd5mvOA4="; |
119 | | - }) |
120 | | - |
121 | | - (fetchpatch { |
122 | | - name = "mlterm-wayland-implicit-function-declaration.patch"; |
123 | | - url = "https://github.com/arakiken/mlterm/commit/20ab931d5055dc5835154a75ca672fade478549f.patch"; |
124 | | - hash = "sha256-rDmQ0e3dQD7UAGTX4ljOrDqTTddBqvnnRFnqDjRLAss="; |
125 | | - }) |
126 | | - |
127 | | - (fetchpatch { |
128 | | - url = "https://salsa.debian.org/debian/mlterm/-/raw/d9b1555e9220985e0c89a6ff5a0d58f7b18cc123/debian/patches/fix-incompat-pointer-types.patch"; |
129 | | - hash = "sha256-EcI15FjQfcN8pcE1MqsBfaHQ4j+gyoeesN/WoHb7WnU="; |
130 | | - }) |
131 | | - ]; |
132 | | - |
133 | 113 | nativeBuildInputs = |
134 | 114 | [ |
135 | 115 | pkg-config |
@@ -260,16 +240,16 @@ stdenv.mkDerivation (finalAttrs: { |
260 | 240 | ; |
261 | 241 | }; |
262 | 242 |
|
263 | | - meta = with lib; { |
| 243 | + meta = { |
264 | 244 | description = "Multi Lingual TERMinal emulator"; |
265 | 245 | homepage = "https://mlterm.sourceforge.net/"; |
266 | | - license = licenses.bsd3; |
267 | | - maintainers = with maintainers; [ |
| 246 | + license = lib.licenses.bsd3; |
| 247 | + maintainers = with lib.maintainers; [ |
268 | 248 | ramkromberg |
269 | 249 | atemu |
270 | 250 | doronbehar |
271 | 251 | ]; |
272 | | - platforms = platforms.all; |
| 252 | + platforms = lib.platforms.all; |
273 | 253 | mainProgram = desktopBinary; |
274 | 254 | }; |
275 | 255 | }) |
0 commit comments