Skip to content

Commit 114ad1a

Browse files
react-native-debugger: 0.9.10 -> 0.11.4
1 parent e77d4ec commit 114ad1a

1 file changed

Lines changed: 11 additions & 12 deletions

File tree

  • pkgs/development/tools/react-native-debugger

pkgs/development/tools/react-native-debugger/default.nix

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
{ stdenv, fetchurl, unzip, cairo, xorg, gdk-pixbuf, fontconfig, pango, gnome2, atk, gtk2, glib
2-
, freetype, dbus, nss, nspr, alsaLib, cups, expat, udev, makeDesktopItem
1+
{ stdenv, fetchurl, unzip, cairo, xorg, gdk-pixbuf, fontconfig, pango, gnome3, atk, at_spi2_atk, at-spi2-core
2+
, gtk3, glib, freetype, dbus, nss, nspr, alsaLib, cups, expat, udev, makeDesktopItem
33
}:
44

55
let
@@ -10,7 +10,7 @@ let
1010
fontconfig
1111
pango
1212
atk
13-
gtk2
13+
gtk3
1414
glib
1515
freetype
1616
dbus
@@ -20,8 +20,8 @@ let
2020
cups
2121
expat
2222
udev
23-
24-
gnome2.GConf
23+
at_spi2_atk
24+
at-spi2-core
2525

2626
xorg.libX11
2727
xorg.libXcursor
@@ -38,11 +38,10 @@ let
3838
];
3939
in stdenv.mkDerivation rec {
4040
pname = "react-native-debugger";
41-
version = "0.9.10";
42-
41+
version = "0.11.4";
4342
src = fetchurl {
4443
url = "https://github.com/jhen0409/react-native-debugger/releases/download/v${version}/rn-debugger-linux-x64.zip";
45-
sha256 = "158275sp37smc8lnrcbj56lp7aa6fj9gzb6fzjgz9r980qgzhia6";
44+
sha256 = "1dnlxdqcn90r509ff5003fibkrprdr0ydpnwg5p0xzs6rz3k8698";
4645
};
4746

4847
buildInputs = [ unzip ];
@@ -52,23 +51,23 @@ in stdenv.mkDerivation rec {
5251
unzip $src -d $out
5352
5453
mkdir $out/{lib,bin,share}
55-
mv $out/lib{node,ffmpeg}.so $out/lib
54+
mv $out/{libEGL,libGLESv2,libvk_swiftshader,libffmpeg}.so $out/lib
5655
mv $out/!(lib|share|bin) $out/share
5756
5857
patchelf \
5958
--set-interpreter $(cat $NIX_CC/nix-support/dynamic-linker) \
6059
--set-rpath ${rpath}:$out/lib \
61-
$out/share/React\ Native\ Debugger
60+
$out/share/react-native-debugger
6261
63-
ln -s $out/share/React\ Native\ Debugger $out/bin/React\ Native\ Debugger
62+
ln -s $out/share/react-native-debugger $out/bin/react-native-debugger
6463
6564
install -Dm644 "${desktopItem}/share/applications/"* \
6665
-t $out/share/applications/
6766
'';
6867

6968
desktopItem = makeDesktopItem {
7069
name = "rndebugger";
71-
exec = "React\\ Native\\ Debugger";
70+
exec = "react-native-debugger";
7271
desktopName = "React Native Debugger";
7372
genericName = "React Native Debugger";
7473
categories = "Development;Debugger;";

0 commit comments

Comments
 (0)