mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
gitter: 4.1.0 -> 5.0.1
Just an update to the underlying package version.
This commit is contained in:
parent
7dd3f3d191
commit
00afc85506
1 changed files with 43 additions and 11 deletions
|
@ -1,29 +1,61 @@
|
||||||
{ stdenv, alsaLib, atk, cairo, cups, dbus, dpkg, expat, fetchurl
|
{ stdenv, alsaLib, atk, at-spi2-core, cairo, cups, dbus, dpkg, expat, fetchurl
|
||||||
, fontconfig, freetype, gdk-pixbuf, glib, gnome2, gtk3, libX11
|
, fontconfig, freetype, gdk-pixbuf, glib, gnome2, gtk3, libdrm, libX11
|
||||||
, libXScrnSaver, libXcomposite, libXcursor, libXdamage, libXext, libXfixes
|
, libXScrnSaver, libXcomposite, libXcursor, libXdamage, libXext, libXfixes
|
||||||
, libXi, libXrandr, libXrender, libXtst, libappindicator-gtk3, libcxx
|
, libXi, libXrandr, libXrender, libXtst, libappindicator-gtk3, libcxx
|
||||||
, libnotify, libpulseaudio, libxcb, makeDesktopItem, makeWrapper, nspr, nss
|
, libnotify, libpulseaudio, libxcb, makeDesktopItem, makeWrapper, mesa, nspr, nss
|
||||||
, pango, systemd }:
|
, pango, systemd }:
|
||||||
|
|
||||||
let gitterDirectorySuffix = "opt/gitter";
|
let gitterDirectorySuffix = "opt/gitter";
|
||||||
|
libPath = stdenv.lib.makeLibraryPath [
|
||||||
|
alsaLib
|
||||||
|
atk
|
||||||
|
at-spi2-core
|
||||||
|
cairo
|
||||||
|
cups
|
||||||
|
dbus
|
||||||
|
expat
|
||||||
|
fontconfig
|
||||||
|
freetype
|
||||||
|
gdk-pixbuf
|
||||||
|
glib
|
||||||
|
gnome2.GConf
|
||||||
|
gtk3
|
||||||
|
libX11
|
||||||
|
libXScrnSaver
|
||||||
|
libXcomposite
|
||||||
|
libXcursor
|
||||||
|
libXdamage
|
||||||
|
libXext
|
||||||
|
libXfixes
|
||||||
|
libXi
|
||||||
|
libXrandr
|
||||||
|
libXrender
|
||||||
|
libXtst
|
||||||
|
libappindicator-gtk3
|
||||||
|
libcxx
|
||||||
|
libdrm
|
||||||
|
libnotify
|
||||||
|
libpulseaudio
|
||||||
|
libxcb
|
||||||
|
mesa
|
||||||
|
nspr
|
||||||
|
nss
|
||||||
|
pango
|
||||||
|
stdenv.cc.cc
|
||||||
|
systemd
|
||||||
|
];
|
||||||
doELFPatch = target: ''
|
doELFPatch = target: ''
|
||||||
patchelf --set-interpreter ${stdenv.cc.bintools.dynamicLinker} \
|
patchelf --set-interpreter ${stdenv.cc.bintools.dynamicLinker} \
|
||||||
--set-rpath "$out/${gitterDirectorySuffix}/lib:${libPath}" \
|
--set-rpath "$out/${gitterDirectorySuffix}/lib:${libPath}" \
|
||||||
$out/${gitterDirectorySuffix}/${target}
|
$out/${gitterDirectorySuffix}/${target}
|
||||||
'';
|
'';
|
||||||
libPath = stdenv.lib.makeLibraryPath [
|
|
||||||
alsaLib atk cairo cups dbus expat fontconfig freetype gdk-pixbuf glib
|
|
||||||
gnome2.GConf gtk3 libX11 libXScrnSaver libXcomposite libXcursor libXdamage
|
|
||||||
libXext libXfixes libXi libXrandr libXrender libXtst libappindicator-gtk3
|
|
||||||
libcxx libnotify libpulseaudio libxcb nspr nss pango stdenv.cc.cc systemd
|
|
||||||
];
|
|
||||||
in stdenv.mkDerivation rec {
|
in stdenv.mkDerivation rec {
|
||||||
pname = "gitter";
|
pname = "gitter";
|
||||||
version = "4.1.0";
|
version = "5.0.1";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://update.gitter.im/linux64/${pname}_${version}_amd64.deb";
|
url = "https://update.gitter.im/linux64/${pname}_${version}_amd64.deb";
|
||||||
sha256 = "1gny9i2pywvczzrs93k8krqn6hwm6c2zg8yr3xmjqs3p88817wbi";
|
sha256 = "1ps9akylqrril4902r8mi0mprm0hb5wra51ry6c1rb5xz5nrzgh1";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ makeWrapper dpkg ];
|
nativeBuildInputs = [ makeWrapper dpkg ];
|
||||||
|
|
Loading…
Reference in a new issue