1 { lib, stdenv, fetchFromGitHub, scons, pkg-config, wrapGAppsHook3
2 , glfw3, gtk3, libpng }:
4 stdenv.mkDerivation (finalAttrs: {
8 src = fetchFromGitHub {
9 owner = "guillaumechereau";
11 rev = "v${finalAttrs.version}";
12 hash = "sha256-mNSkQisWL3wXb+IsClWFTMbpeiRC4xteePXNP+GkUnU=";
15 nativeBuildInputs = [ scons pkg-config wrapGAppsHook3 ];
16 buildInputs = [ glfw3 gtk3 libpng ];
18 dontUseSconsBuild = true;
19 dontUseSconsInstall = true;
21 makeFlags = [ "PREFIX=$(out)" ];
23 buildFlags = [ "release" ];
26 description = "Open Source 3D voxel editor";
27 mainProgram = "goxel";
28 homepage = "https://guillaumechereau.github.io/goxel/";
29 license = licenses.gpl3;
30 platforms = platforms.linux;
31 maintainers = with maintainers; [ tilpner fgaz ];