Skip to content

Commit

Permalink
hopper: 4.5.29 -> 5.5.3
Browse files Browse the repository at this point in the history
  • Loading branch information
armeenm committed May 5, 2022
1 parent 0558cb2 commit 0d03ca8
Showing 1 changed file with 12 additions and 16 deletions.
28 changes: 12 additions & 16 deletions pkgs/development/tools/analysis/hopper/default.nix
Expand Up @@ -3,36 +3,35 @@
, lib
, autoPatchelfHook
, wrapQtAppsHook
, libbsd
, python27
, gmpxx
, ncurses5
, gnustep
, libffi
, libbsd
, libffi_3_3
, ncurses6
}:

stdenv.mkDerivation rec {
pname = "hopper";
version = "4.5.29";
rev = "v${lib.versions.major version}";
version = "5.5.3";
rev = "v4";

src = fetchurl {
url = "https://d2ap6ypl1xbe4k.cloudfront.net/Hopper-${rev}-${version}-Linux.pkg.tar.xz";
sha256 = "1v1pff5fiv41khvrnlpdks2vddjnvziyn14qqj6v26snyhwi86zh";
url = "https://d2ap6ypl1xbe4k.cloudfront.net/Hopper-${rev}-${version}-Linux-demo.pkg.tar.xz";
hash = "sha256-xq9ZVg1leHm/tq6LYyQLa8p5dDwBd64Jt92uMoE0z58=";
};

sourceRoot = ".";

nativeBuildInputs = [
wrapQtAppsHook
autoPatchelfHook
wrapQtAppsHook
];

buildInputs = [
libbsd
python27
gmpxx
ncurses5
gnustep.libobjc
libbsd
libffi_3_3
ncurses6
];

installPhase = ''
Expand All @@ -54,9 +53,6 @@ stdenv.mkDerivation rec {
$sourceRoot/opt/hopper-${rev}/lib/libpthread_workqueue.so* \
$out/lib
# we already ship libffi.so.7
ln -s ${lib.getLib libffi}/lib/libffi.so $out/lib/libffi.so.6
cp -r $sourceRoot/usr/share $out
runHook postInstall
Expand Down

0 comments on commit 0d03ca8

Please sign in to comment.