Skip to content

Commit 8b05588

Browse files
wox: 2.0.1 -> 2.0.2 (#508266)
2 parents 1cd6c58 + 6a8feae commit 8b05588

File tree

2 files changed

+71
-12
lines changed

2 files changed

+71
-12
lines changed

pkgs/by-name/wo/wox/package.nix

Lines changed: 19 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
lib,
33
stdenv,
44
fetchFromGitHub,
5-
flutter338,
5+
flutter341,
66
keybinder3,
77
nodejs,
88
pnpm_9,
@@ -16,6 +16,7 @@
1616
libxtst,
1717
libx11,
1818
libxkbcommon,
19+
xorgproto,
1920
libayatana-appindicator,
2021
gtk3,
2122
desktop-file-utils,
@@ -25,13 +26,13 @@
2526
}:
2627

2728
let
28-
version = "2.0.1";
29+
version = "2.0.2";
2930

3031
src = fetchFromGitHub {
3132
owner = "Wox-launcher";
3233
repo = "Wox";
3334
tag = "v${version}";
34-
hash = "sha256-1g38ry6+iWiRBLVbgLNaotc/jlsG5LLVYvzJbmEjIdA=";
35+
hash = "sha256-Qav2RhmhJQr2D1D3okshIrnnQuOh7V1gWbZwXR3LBAc=";
3536
};
3637

3738
metaCommon = {
@@ -41,17 +42,27 @@ let
4142
maintainers = [ ];
4243
};
4344

44-
ui-flutter = flutter338.buildFlutterApplication {
45+
ui-flutter = flutter341.buildFlutterApplication {
4546
pname = "wox-ui-flutter";
4647
inherit version src;
4748

4849
sourceRoot = "${src.name}/wox.ui.flutter/wox";
4950

5051
pubspecLock = lib.importJSON ./pubspec.lock.json;
5152

53+
postPatch = ''
54+
substituteInPlace linux/runner/my_application.cc \
55+
--replace-fail "X11/Xkeysym.h" "X11/keysym.h"
56+
'';
57+
5258
nativeBuildInputs = [ autoPatchelfHook ];
5359

54-
buildInputs = [ keybinder3 ];
60+
buildInputs = [
61+
keybinder3
62+
xorgproto
63+
libx11
64+
libxtst
65+
];
5566

5667
meta = metaCommon // {
5768
mainProgram = "wox";
@@ -79,8 +90,8 @@ let
7990
sourceRoot
8091
;
8192
pnpm = pnpm_9;
82-
fetcherVersion = 2;
83-
hash = "sha256-8EovIVJ+uAo9XJIIgRrpkQrcmNkKC2Ruja2md7NFZ4A=";
93+
fetcherVersion = 3;
94+
hash = "sha256-cbuVQV8ih8rztERFLUHGnK63MBz8+QVmzeegYLDwcj4=";
8495
};
8596

8697
buildPhase = ''
@@ -160,7 +171,7 @@ buildGoModule {
160171
sed -i '/^ "path"$/d' plugin/host/host_python.go
161172
'';
162173

163-
vendorHash = "sha256-JA6D0i6lgWYGz8jS4m5yO4JCawbEaVpGGFoQ1QnNqpg=";
174+
vendorHash = "sha256-IDcIEZVCJp1ls5c2fblgX+I+MhfRDXqFbf0GhgcFiTo=";
164175

165176
proxyVendor = true;
166177

pkgs/by-name/wo/wox/pubspec.lock.json

Lines changed: 52 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -306,6 +306,12 @@
306306
"source": "hosted",
307307
"version": "0.3.5"
308308
},
309+
"flutter_driver": {
310+
"dependency": "transitive",
311+
"description": "flutter",
312+
"source": "sdk",
313+
"version": "0.0.0"
314+
},
309315
"flutter_highlight": {
310316
"dependency": "direct main",
311317
"description": {
@@ -388,6 +394,12 @@
388394
"source": "hosted",
389395
"version": "2.0.0"
390396
},
397+
"fuchsia_remote_debug_protocol": {
398+
"dependency": "transitive",
399+
"description": "flutter",
400+
"source": "sdk",
401+
"version": "0.0.0"
402+
},
391403
"get": {
392404
"dependency": "direct main",
393405
"description": {
@@ -498,6 +510,12 @@
498510
"source": "hosted",
499511
"version": "4.1.2"
500512
},
513+
"integration_test": {
514+
"dependency": "direct dev",
515+
"description": "flutter",
516+
"source": "sdk",
517+
"version": "0.0.0"
518+
},
501519
"intl": {
502520
"dependency": "transitive",
503521
"description": {
@@ -642,11 +660,11 @@
642660
"dependency": "transitive",
643661
"description": {
644662
"name": "meta",
645-
"sha256": "23f08335362185a5ea2ad3a4e597f1375e78bce8a040df5c600c8d3552ef2394",
663+
"sha256": "e3641ec5d63ebf0d9b41bd43201a66e3fc79a65db5f61fc181f04cd27aab950c",
646664
"url": "https://pub.dev"
647665
},
648666
"source": "hosted",
649-
"version": "1.17.0"
667+
"version": "1.16.0"
650668
},
651669
"mime": {
652670
"dependency": "transitive",
@@ -798,6 +816,16 @@
798816
"source": "hosted",
799817
"version": "6.0.3"
800818
},
819+
"process": {
820+
"dependency": "transitive",
821+
"description": {
822+
"name": "process",
823+
"sha256": "c6248e4526673988586e8c00bb22a49210c258dc91df5227d5da9748ecf79744",
824+
"url": "https://pub.dev"
825+
},
826+
"source": "hosted",
827+
"version": "5.0.5"
828+
},
801829
"protocol_handler": {
802830
"dependency": "direct main",
803831
"description": {
@@ -924,6 +952,16 @@
924952
"source": "hosted",
925953
"version": "1.4.1"
926954
},
955+
"sync_http": {
956+
"dependency": "transitive",
957+
"description": {
958+
"name": "sync_http",
959+
"sha256": "7f0cd72eca000d2e026bcd6f990b81d0ca06022ef4e32fb257b30d3d1014a961",
960+
"url": "https://pub.dev"
961+
},
962+
"source": "hosted",
963+
"version": "0.3.1"
964+
},
927965
"syncfusion_flutter_core": {
928966
"dependency": "transitive",
929967
"description": {
@@ -1028,11 +1066,11 @@
10281066
"dependency": "transitive",
10291067
"description": {
10301068
"name": "test_api",
1031-
"sha256": "ab2726c1a94d3176a45960b6234466ec367179b87dd74f1611adb1f3b5fb9d55",
1069+
"sha256": "522f00f556e73044315fa4585ec3270f1808a4b186c936e612cab0b565ff1e00",
10321070
"url": "https://pub.dev"
10331071
},
10341072
"source": "hosted",
1035-
"version": "0.7.7"
1073+
"version": "0.7.6"
10361074
},
10371075
"tuple": {
10381076
"dependency": "transitive",
@@ -1244,6 +1282,16 @@
12441282
"source": "hosted",
12451283
"version": "3.0.3"
12461284
},
1285+
"webdriver": {
1286+
"dependency": "transitive",
1287+
"description": {
1288+
"name": "webdriver",
1289+
"sha256": "2f3a14ca026957870cfd9c635b83507e0e51d8091568e90129fbf805aba7cade",
1290+
"url": "https://pub.dev"
1291+
},
1292+
"source": "hosted",
1293+
"version": "3.1.0"
1294+
},
12471295
"win32": {
12481296
"dependency": "transitive",
12491297
"description": {

0 commit comments

Comments
 (0)