15 stdenv.mkDerivation (finalAttrs: {
19 src = fetchFromGitHub {
20 owner = "deathkiller";
21 repo = "jazz2-native";
22 rev = finalAttrs.version;
23 hash = "sha256-t1bXREL/WWnYnSfCyAY5tus/Bq5V4HVHg9s7oltGoIg=";
26 patches = [ ./nocontent.patch ];
28 nativeBuildInputs = [ cmake ];
38 "-DLIBOPENMPT_INCLUDE_DIR=${lib.getDev libopenmpt}/include/libopenmpt"
39 "-DNCINE_DOWNLOAD_DEPENDENCIES=OFF"
40 "-DNCINE_OVERRIDE_CONTENT_PATH=${jazz2-content}"
43 passthru.tests.version = testers.testVersion {
44 package = finalAttrs.finalPackage;
48 description = "Open-source Jazz Jackrabbit 2 reimplementation";
49 homepage = "https://github.com/deathkiller/jazz2-native";
50 license = licenses.gpl3Only;
51 mainProgram = "jazz2";
52 maintainers = with maintainers; [ surfaceflinger ];
53 platforms = platforms.linux;