2021-07-02 08:13:33 +00:00
|
|
|
{ stdenv
|
|
|
|
, lib
|
2021-07-06 05:45:48 +00:00
|
|
|
, fetchzip
|
2021-07-02 08:13:33 +00:00
|
|
|
, autoPatchelfHook
|
|
|
|
, wrapGAppsHook
|
|
|
|
, gnome2
|
2021-07-27 11:50:05 +00:00
|
|
|
, gtk2
|
2021-07-02 08:13:33 +00:00
|
|
|
, nss
|
|
|
|
, xdg-utils
|
|
|
|
, xorg
|
|
|
|
, alsa-lib
|
|
|
|
, atk
|
|
|
|
, cairo
|
|
|
|
, cups
|
|
|
|
, curl
|
|
|
|
, dbus
|
|
|
|
, expat
|
|
|
|
, fontconfig
|
|
|
|
, freetype
|
|
|
|
, gdk-pixbuf
|
|
|
|
, glib
|
|
|
|
, gtk3
|
|
|
|
, libX11
|
|
|
|
, libxcb
|
|
|
|
, libXScrnSaver
|
|
|
|
, libXcomposite
|
|
|
|
, libXcursor
|
|
|
|
, libXdamage
|
|
|
|
, libXext
|
|
|
|
, libXfixes
|
|
|
|
, libXi
|
|
|
|
, libXrandr
|
|
|
|
, libXrender
|
|
|
|
, libXtst
|
|
|
|
, libdrm
|
|
|
|
, libnotify
|
|
|
|
, libopus
|
|
|
|
, libpulseaudio
|
|
|
|
, libuuid
|
|
|
|
, libxshmfence
|
|
|
|
, mesa
|
|
|
|
, nspr
|
|
|
|
, pango
|
|
|
|
, systemd
|
|
|
|
, at-spi2-atk
|
|
|
|
, at-spi2-core
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "icecat-bin";
|
|
|
|
version = "60.7.0";
|
|
|
|
|
2021-07-06 05:45:48 +00:00
|
|
|
src = fetchzip {
|
|
|
|
url = "https://mirror.tochlab.net/pub/gnu/gnuzilla/${version}/icecat-${version}.en-US.gnulinux-x86_64.tar.bz2";
|
|
|
|
sha256 = "sha256-bEapbQIcZXQ0Tip/X1Q0guowpr3wNDYsFbHGmTbc5mE=";
|
2021-07-02 08:13:33 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
autoPatchelfHook
|
|
|
|
wrapGAppsHook
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
nss
|
|
|
|
xdg-utils
|
|
|
|
xorg.libxkbfile
|
|
|
|
alsa-lib
|
|
|
|
at-spi2-atk
|
|
|
|
at-spi2-core
|
|
|
|
atk
|
|
|
|
cairo
|
|
|
|
cups
|
|
|
|
curl
|
|
|
|
dbus
|
|
|
|
expat
|
|
|
|
fontconfig.lib
|
|
|
|
freetype
|
|
|
|
gdk-pixbuf
|
|
|
|
glib
|
|
|
|
gnome2.GConf
|
2021-07-27 11:50:05 +00:00
|
|
|
gtk2
|
2021-07-02 08:13:33 +00:00
|
|
|
gtk3
|
|
|
|
libX11
|
|
|
|
libXScrnSaver
|
|
|
|
libXcomposite
|
|
|
|
libXcursor
|
|
|
|
libXdamage
|
|
|
|
libXext
|
|
|
|
libXfixes
|
|
|
|
libXi
|
|
|
|
libXrandr
|
|
|
|
libXrender
|
|
|
|
libXtst
|
|
|
|
libdrm
|
|
|
|
libnotify
|
|
|
|
libopus
|
|
|
|
libuuid
|
|
|
|
libxcb
|
|
|
|
libxshmfence
|
|
|
|
mesa
|
|
|
|
nspr
|
|
|
|
nss
|
|
|
|
pango
|
2021-07-03 05:34:33 +00:00
|
|
|
xorg.libXt
|
2021-07-02 08:13:33 +00:00
|
|
|
stdenv.cc.cc.lib
|
|
|
|
];
|
|
|
|
|
|
|
|
unpackPhase = ''
|
|
|
|
mkdir -p $TMP/ $out/{opt,bin}
|
2021-07-06 05:45:48 +00:00
|
|
|
cp $src/* $TMP/ -r
|
2021-07-02 08:13:33 +00:00
|
|
|
'';
|
|
|
|
|
|
|
|
installPhase = ''
|
2021-07-06 05:45:48 +00:00
|
|
|
cp -r $TMP/* $out/opt/
|
2021-07-02 08:13:33 +00:00
|
|
|
ln -sf $out/opt/icecat-bin $out/bin/icecat
|
|
|
|
'';
|
|
|
|
|
|
|
|
runtimeDependencies = [
|
|
|
|
libpulseaudio.out
|
|
|
|
(lib.getLib systemd)
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Binary build of the GNU version of the Mozilla Firefox browser";
|
|
|
|
homepage = "https://www.gnu.org/software/gnuzilla/";
|
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
maintainers = with maintainers; [ dan4ik605743 ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|