jazz2 2.3.0 -> 2.4.1 https://repology.org/project/jazz2/versions attrpath: jazz2 Checking auto update branch... No auto update branch exists Old version 2.3.0" not present in master derivation file with contents: { cmake , fetchFromGitHub , glfw , jazz2-content , lib , libopenmpt , libvorbis , openal , SDL2 , stdenv , testers , zlib , graphicsLibrary ? "GLFW" }: assert lib.assertOneOf "graphicsLibrary" graphicsLibrary [ "SDL2" "GLFW" ]; stdenv.mkDerivation (finalAttrs: { pname = "jazz2"; version = "2.4.0"; src = fetchFromGitHub { owner = "deathkiller"; repo = "jazz2-native"; rev = finalAttrs.version; hash = "sha256-Rv+fU2SGxdmxfDANX+HpZDZBm9HYzSvAQDqPSQ8WJps="; }; patches = [ ./nocontent.patch ]; nativeBuildInputs = [ cmake ]; buildInputs = [ libopenmpt libvorbis openal zlib ] ++ lib.optionals (graphicsLibrary == "GLFW") [ glfw ] ++ lib.optionals (graphicsLibrary == "SDL2") [ SDL2 ]; cmakeFlags = [ "-DLIBOPENMPT_INCLUDE_DIR=${lib.getDev libopenmpt}/include/libopenmpt" "-DNCINE_DOWNLOAD_DEPENDENCIES=OFF" "-DNCINE_OVERRIDE_CONTENT_PATH=${jazz2-content}" ] ++ lib.optionals (graphicsLibrary == "GLFW") [ "-DGLFW_INCLUDE_DIR=${glfw}/include/GLFW" ]; passthru.tests.version = testers.testVersion { package = finalAttrs.finalPackage; }; meta = with lib; { description = "Open-source Jazz Jackrabbit 2 reimplementation"; homepage = "https://github.com/deathkiller/jazz2-native"; license = licenses.gpl3Only; mainProgram = "jazz2"; maintainers = with maintainers; [ surfaceflinger ]; platforms = platforms.linux; }; })