discord: 0.0.1 -> 0.0.2
This commit is contained in:
parent
b48ffa332b
commit
6616b9a225
@ -1,25 +1,27 @@
|
|||||||
{ stdenv, fetchurl, makeDesktopItem
|
{ stdenv, fetchurl, makeDesktopItem, makeWrapper
|
||||||
, alsaLib, atk, cairo, cups, dbus, expat, fontconfig, freetype, gdk_pixbuf
|
, alsaLib, atk, cairo, cups, dbus, expat, fontconfig, freetype, gdk_pixbuf
|
||||||
, glib, gnome2, gtk2, libnotify, libX11, libXcomposite, libXcursor, libXdamage
|
, glib, gnome2, gtk2, libnotify, libX11, libXcomposite, libXcursor, libXdamage
|
||||||
, libXext, libXfixes, libXi, libXrandr, libXrender, libXtst, nspr, nss, pango
|
, libXext, libXfixes, libXi, libXrandr, libXrender, libXtst, nspr, nss, libxcb
|
||||||
, systemd, libXScrnSaver }:
|
, pango, systemd, libXScrnSaver, libcxx }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
|
|
||||||
pname = "discord";
|
pname = "discord";
|
||||||
version = "0.0.1";
|
version = "0.0.2";
|
||||||
name = "${pname}-${version}";
|
name = "${pname}-${version}";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://cdn.discordapp.com/apps/linux/${version}/${pname}-${version}.tar.gz";
|
url = "https://cdn.discordapp.com/apps/linux/${version}/${pname}-${version}.tar.gz";
|
||||||
sha256 = "10m3ixvhmxdw55awd84gx13m222qjykj7gcigbjabcvsgp2z63xs";
|
sha256 = "0sb7l0rrpqxzn4fndjr50r5xfiid1f81p22gda4mz943yv37mhfz";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [ makeWrapper ];
|
||||||
|
|
||||||
libPath = stdenv.lib.makeLibraryPath [
|
libPath = stdenv.lib.makeLibraryPath [
|
||||||
stdenv.cc.cc alsaLib atk cairo cups dbus expat fontconfig freetype
|
stdenv.cc.cc alsaLib atk cairo cups dbus expat fontconfig freetype
|
||||||
gdk_pixbuf glib gnome2.GConf gtk2 libnotify libX11 libXcomposite
|
gdk_pixbuf glib gnome2.GConf gtk2 libnotify libX11 libXcomposite
|
||||||
libXcursor libXdamage libXext libXfixes libXi libXrandr libXrender
|
libXcursor libXdamage libXext libXfixes libXi libXrandr libXrender
|
||||||
libXtst nspr nss pango systemd libXScrnSaver
|
libXtst nspr nss libxcb pango systemd libXScrnSaver
|
||||||
];
|
];
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
@ -34,6 +36,8 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
paxmark m $out/Discord
|
paxmark m $out/Discord
|
||||||
|
|
||||||
|
wrapProgram $out/Discord --prefix LD_LIBRARY_PATH : "$LD_LIBRARY_PATH:${libcxx}/lib"
|
||||||
|
|
||||||
ln -s $out/Discord $out/bin/
|
ln -s $out/Discord $out/bin/
|
||||||
ln -s $out/discord.png $out/share/pixmaps
|
ln -s $out/discord.png $out/share/pixmaps
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user