1 { lib, cmake, fetchFromGitHub, libGL, libiconv, libX11, openal, stdenv }:
3 stdenv.mkDerivation rec {
5 version = "unstable-2022-10-02";
7 src = fetchFromGitHub {
10 rev = "ee6db7d803a77b474e73992fdc25d76b9723d806";
11 sha256 = "sha256-/CraSu/leNA0dl8NVgFjvKdOWrC9/namAz5NSxtPr+I=";
14 nativeBuildInputs = [ cmake ];
15 buildInputs = [ libGL libiconv openal libX11 ];
19 install -D {,$out/bin/}${pname}
24 description = "A Cycle-Accurate Nintendo 64 Emulator";
25 license = licenses.bsd3;
26 homepage = "https://github.com/n64dev/cen64";
27 maintainers = [ maintainers._414owen ];
28 platforms = [ "x86_64-linux" ];
29 mainProgram = "cen64";