diff options
author | oluceps <i@oluceps.uk> | 2023-10-09 01:06:19 +0800 |
---|---|---|
committer | oluceps <i@oluceps.uk> | 2023-10-09 01:07:14 +0800 |
commit | 2e20fc3dbbe30e16518b3fb518d64dca023e12df (patch) | |
tree | f6ab531d86fb64a04bc353cc3c09c04387c2ec9a /pkgs/applications/blockchains | |
parent | 46a8f73f8696b43ebf7597f91d0d61c991e952a9 (diff) |
exodus: 23.5.22 -> 23.9.25
Diffstat (limited to 'pkgs/applications/blockchains')
-rw-r--r-- | pkgs/applications/blockchains/exodus/default.nix | 124 |
1 files changed, 76 insertions, 48 deletions
diff --git a/pkgs/applications/blockchains/exodus/default.nix b/pkgs/applications/blockchains/exodus/default.nix index c85008cbcffc1..2d778a059f28c 100644 --- a/pkgs/applications/blockchains/exodus/default.nix +++ b/pkgs/applications/blockchains/exodus/default.nix @@ -1,16 +1,42 @@ -{ 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 }: +{ stdenv +, lib +, requireFile +, unzip +, 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 +}: stdenv.mkDerivation rec { pname = "exodus"; - version = "23.5.22"; + version = "23.9.25"; - src = fetchzip { + src = requireFile { + name = "exodus-linux-x64-${version}.zip"; url = "https://downloads.exodus.com/releases/${pname}-linux-x64-${version}.zip"; - sha256 = "sha256-CZuT0nlKyF7LRGqNezm98MHcQa2Uhd8y+NiKE5mi0jk="; + sha256 = "a3e314de257e1ec01baa1023886f327ade4b233d833f7fe79f6c3e0f26d07ced"; }; + nativeBuildInputs = [ unzip ]; + installPhase = '' mkdir -p $out/bin $out/share/applications cp -r . $out @@ -24,48 +50,50 @@ stdenv.mkDerivation rec { dontPatchELF = true; dontBuild = true; - preFixup = let - libPath = lib.makeLibraryPath [ - glib - nss - nspr - gtk3-x11 - pango - atk - cairo - gdk-pixbuf - xorg.libX11 - xorg.libxcb - xorg.libXcomposite - xorg.libXcursor - xorg.libXdamage - xorg.libXext - xorg.libXfixes - xorg.libXi - xorg.libXrender - xorg.libxshmfence - xorg.libXtst - xorg_sys_opengl - util-linux - xorg.libXrandr - xorg.libXScrnSaver - alsa-lib - dbus.lib - at-spi2-atk - at-spi2-core - cups.lib - libpulseaudio - systemd - vivaldi-ffmpeg-codecs - libxkbcommon - mesa - ]; - in '' - patchelf \ - --set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" \ - --set-rpath "${libPath}" \ - $out/Exodus - ''; + preFixup = + let + libPath = lib.makeLibraryPath [ + glib + nss + nspr + gtk3-x11 + pango + atk + cairo + gdk-pixbuf + xorg.libX11 + xorg.libxcb + xorg.libXcomposite + xorg.libXcursor + xorg.libXdamage + xorg.libXext + xorg.libXfixes + xorg.libXi + xorg.libXrender + xorg.libxshmfence + xorg.libXtst + xorg_sys_opengl + util-linux + xorg.libXrandr + xorg.libXScrnSaver + alsa-lib + dbus.lib + at-spi2-atk + at-spi2-core + cups.lib + libpulseaudio + systemd + vivaldi-ffmpeg-codecs + libxkbcommon + mesa + ]; + in + '' + patchelf \ + --set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" \ + --set-rpath "${libPath}" \ + $out/Exodus + ''; meta = with lib; { homepage = "https://www.exodus.io/"; |