Merge pull request #184277 from Craftzman7/pkg/exodus
This commit is contained in:
commit
9f94ceb0db
1 changed files with 3 additions and 9 deletions
|
@ -1,4 +1,4 @@
|
|||
{ stdenv, lib, fetchurl, unzip, glib, systemd, nss, nspr, gtk3-x11, pango,
|
||||
{ stdenv, lib, fetchzip, glib, systemd, nss, nspr, gtk3-x11, pango,
|
||||
atk, cairo, gdk-pixbuf, xorg, xorg_sys_opengl, util-linux, alsa-lib, dbus, at-spi2-atk,
|
||||
cups, vivaldi-ffmpeg-codecs, libpulseaudio, at-spi2-core, libxkbcommon, mesa }:
|
||||
|
||||
|
@ -6,19 +6,13 @@ stdenv.mkDerivation rec {
|
|||
pname = "exodus";
|
||||
version = "22.7.15";
|
||||
|
||||
src = fetchurl {
|
||||
src = fetchzip {
|
||||
url = "https://downloads.exodus.io/releases/${pname}-linux-x64-${version}.zip";
|
||||
sha256 = "sha256-tQwxzhy+d2hA7VvZB9qSF7uaYIffAyX9ovZYQ8HDEB8=";
|
||||
sha256 = "sha256-KAv+H6uJBDGzjg5Qmy54EtiVvV1OGJ6r3XnAQO7qjIg=";
|
||||
};
|
||||
|
||||
sourceRoot = ".";
|
||||
unpackCmd = ''
|
||||
${unzip}/bin/unzip "$src" -x "Exodus*/lib*so"
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin $out/share/applications
|
||||
cd Exodus-linux-x64
|
||||
cp -r . $out
|
||||
ln -s $out/Exodus $out/bin/Exodus
|
||||
ln -s $out/bin/Exodus $out/bin/exodus
|
||||
|
|
Loading…
Reference in a new issue