mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 15:33:13 +00:00
hopper: 4.5.29 -> 5.5.3
This commit is contained in:
parent
0558cb24cd
commit
0d03ca8d0c
@ -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 = ''
|
||||
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user