tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
ripes: fix darwin build
Felix Albrigtsen
2 years ago
2d0ae77d
d24abecd
+10
-1
1 changed file
expand all
collapse all
unified
split
pkgs
applications
emulators
ripes
default.nix
+10
-1
pkgs/applications/emulators/ripes/default.nix
···
8
, wrapQtAppsHook
9
, cmake
10
, python3
0
11
}:
12
13
mkDerivation rec {
···
36
];
37
38
installPhase = ''
0
0
0
0
0
0
39
install -D Ripes $out/bin/Ripes
0
40
cp -r ${src}/appdir/usr/share $out/share
0
41
'';
42
43
meta = with lib; {
44
description = "A graphical processor simulator and assembly editor for the RISC-V ISA";
45
homepage = "https://github.com/mortbopet/Ripes";
46
license = licenses.mit;
47
-
platforms = platforms.linux;
48
maintainers = with maintainers; [ rewine ];
49
};
50
}
···
8
, wrapQtAppsHook
9
, cmake
10
, python3
11
+
, stdenv
12
}:
13
14
mkDerivation rec {
···
37
];
38
39
installPhase = ''
40
+
runHook preInstall
41
+
'' + lib.optionalString stdenv.isDarwin ''
42
+
mkdir -p $out/Applications
43
+
cp -r Ripes.app $out/Applications/
44
+
makeBinaryWrapper $out/Applications/Ripes.app/Contents/MacOS/Ripes $out/bin/Ripes
45
+
'' + lib.optionalString stdenv.isLinux ''
46
install -D Ripes $out/bin/Ripes
47
+
'' + ''
48
cp -r ${src}/appdir/usr/share $out/share
49
+
runHook postInstall
50
'';
51
52
meta = with lib; {
53
description = "A graphical processor simulator and assembly editor for the RISC-V ISA";
54
homepage = "https://github.com/mortbopet/Ripes";
55
license = licenses.mit;
56
+
platforms = platforms.unix;
57
maintainers = with maintainers; [ rewine ];
58
};
59
}