7 pname = "tridactyl-native";
10 src = fetchFromGitHub {
12 repo = "native_messenger";
13 rev = "3059abd9fb3f14d598f6c299335c3ebac5bc689a";
14 hash = "sha256-gicdpWAoimZMNGLc8w0vtJiFFxeqxB8P4lgWDun7unM=";
17 lockFile = ./lock.json;
20 mkdir -p "$out/lib/mozilla/native-messaging-hosts"
21 sed -i -e "s|REPLACE_ME_WITH_SED|$out/bin/native_main|" "tridactyl.json"
22 cp tridactyl.json "$out/lib/mozilla/native-messaging-hosts/"
26 description = "Native messenger for Tridactyl, a vim-like Firefox webextension";
27 mainProgram = "native_main";
28 homepage = "https://github.com/tridactyl/native_messenger";
29 license = licenses.bsd2;
30 platforms = platforms.all;
31 maintainers = with maintainers; [