21 stdenv.mkDerivation (finalAttrs: {
22 pname = "guile-chickadee";
26 url = "https://files.dthompson.us/chickadee/chickadee-${finalAttrs.version}.tar.gz";
27 hash = "sha256-Ey9TtuWaGlHG2cYYwqJIt2RX7XNUW28OGl/kuPUCD3U=";
51 propagatedBuildInputs = [
56 makeFlags = [ "GUILE_AUTO_COMPILE=0" ];
59 wrapProgram $out/bin/chickadee \
60 --prefix GUILE_LOAD_PATH : "$out/${guile.siteDir}:$GUILE_LOAD_PATH" \
61 --prefix GUILE_LOAD_COMPILED_PATH : "$out/${guile.siteCcacheDir}:$GUILE_LOAD_COMPILED_PATH"
64 passthru.tests.version = testers.testVersion {
65 package = guile-chickadee;
66 command = "chickadee -v";
69 doCheck = !stdenv.hostPlatform.isDarwin;
72 description = "Game development toolkit for Guile Scheme with SDL2 and OpenGL";
73 homepage = "https://dthompson.us/projects/chickadee.html";
74 license = licenses.asl20;
75 maintainers = with maintainers; [ chito ];
76 mainProgram = "chickadee";
77 platforms = guile.meta.platforms;
78 broken = stdenv.hostPlatform.isDarwin;