Skip to content

Instantly share code, notes, and snippets.

@neonfuz
Created October 16, 2018 19:39
Show Gist options
  • Save neonfuz/21efe05db37cc3cd20afa0e5305b6c79 to your computer and use it in GitHub Desktop.
Save neonfuz/21efe05db37cc3cd20afa0e5305b6c79 to your computer and use it in GitHub Desktop.
doom64ex nix WIP, broken meta???
{ stdenv, fetchFromGitHub
, gccStdenv, cmake, fluidsynth, SDL2, SDL2_net, zlib }:
stdenv.mkDerivation rec {
name = "doom64ex-${version}";
version = "unstable-2018-08-24";
src = fetchFromGitHub {
owner = "svkaiser";
repo = "Doom64EX";
rev = "03a5e6a5a3a14d66886f62b72431b37ef7336706";
sha256 = "1m7jzfgrcjhp9rlsrlyrbp0kzdg9j20canyb9i68gm35dlqpf80d";
};
nativeBuildInputs = [ cmake ];
buildInputs = [
SDL2 SDL2_net fluidsynth zlib
];
NIX_CFLAGS_LINK = [ "-lfluidsynth" "-lzlib" ];
cmakeFlags = [ "-DENABLE_SYSTEM_FLUIDSYNTH=ON" ];
enableParallelBuilding = true;
# meta = with stdenv.lib {
# homepage = https://doom64ex.wordpress.com/;
# description = "A recreation of the Nindendo 64 game Doom 64";
# license = licenses.gpl2;
# platforms = platforms.linux;
# maintainers = with maintainers; [ neonfuz ];
# };
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment