12 stdenv.mkDerivation rec {
18 url = "https://d2ap6ypl1xbe4k.cloudfront.net/Hopper-${rev}-${version}-Linux-demo.pkg.tar.xz";
19 hash = "sha256-xq9ZVg1leHm/tq6LYyQLa8p5dDwBd64Jt92uMoE0z58=";
43 cp $sourceRoot/opt/hopper-${rev}/bin/Hopper $out/bin/hopper
46 $sourceRoot/opt/hopper-${rev}/lib/libBlocksRuntime.so* \
47 $sourceRoot/opt/hopper-${rev}/lib/libdispatch.so* \
48 $sourceRoot/opt/hopper-${rev}/lib/libgnustep-base.so* \
49 $sourceRoot/opt/hopper-${rev}/lib/libHopperCore.so* \
50 $sourceRoot/opt/hopper-${rev}/lib/libkqueue.so* \
51 $sourceRoot/opt/hopper-${rev}/lib/libobjcxx.so* \
52 $sourceRoot/opt/hopper-${rev}/lib/libpthread_workqueue.so* \
55 cp -r $sourceRoot/usr/share $out
61 substituteInPlace "$out/share/applications/hopper-${rev}.desktop" \
62 --replace "Exec=/opt/hopper-${rev}/bin/Hopper" "Exec=$out/bin/hopper"
66 homepage = "https://www.hopperapp.com/index.html";
67 description = "MacOS and Linux Disassembler";
68 license = licenses.unfree;
69 maintainers = with maintainers; [
72 platforms = platforms.linux;