48 lines
879 B
Nix
48 lines
879 B
Nix
|
with import <nixpkgs> {};
|
||
|
|
||
|
let
|
||
|
zlib129 = stdenv.mkDerivation {
|
||
|
pname = "Zlib 1.2.9";
|
||
|
version = "1.2.9";
|
||
|
src = fetchurl {
|
||
|
url = "https://zlib.net/fossils/zlib-1.2.9.tar.gz";
|
||
|
sha256 = "sha256-c6swLvMe0edIldKvVvUvWFPyawNw8+8hlUNHrOxeqiE=";
|
||
|
};
|
||
|
};
|
||
|
in
|
||
|
mkShell {
|
||
|
buildInputs = [
|
||
|
zlib129
|
||
|
];
|
||
|
|
||
|
NIX_LD_LIBRARY_PATH = lib.makeLibraryPath [
|
||
|
# For SDK Manager
|
||
|
at-spi2-atk
|
||
|
cairo
|
||
|
curl
|
||
|
expat
|
||
|
freetype
|
||
|
gdk-pixbuf
|
||
|
glib
|
||
|
glib-networking
|
||
|
gtk3
|
||
|
libjpeg8
|
||
|
libpng
|
||
|
libsecret
|
||
|
libsoup
|
||
|
pango
|
||
|
stdenv.cc.cc.lib
|
||
|
webkitgtk_4_0
|
||
|
xorg.libSM
|
||
|
xorg.libX11
|
||
|
xorg.libXext
|
||
|
xorg.libXxf86vm
|
||
|
zlib129
|
||
|
|
||
|
# For Simulator
|
||
|
systemdLibs
|
||
|
libusb1
|
||
|
];
|
||
|
|
||
|
GIO_EXTRA_MODULES = [ "${pkgs.glib-networking.out}/lib/gio/modules" ];
|
||
|
}
|