1 { lib, stdenv, fetchFromGitHub, scons, pkg-config, wrapGAppsHook
2 , glfw3, gtk3, libpng12 }:
4 stdenv.mkDerivation rec {
8 src = fetchFromGitHub {
9 owner = "guillaumechereau";
12 sha256 = "sha256-M9H9SV8xmU7Jw5rEdV0gfloIEBvWmWSuH+BCrowpf2M=";
15 patches = [ ./disable-imgui_ini.patch ];
17 nativeBuildInputs = [ scons pkg-config wrapGAppsHook ];
18 buildInputs = [ glfw3 gtk3 libpng12 ];
19 NIX_LDFLAGS = "-lpthread";
26 install -D ./goxel $out/bin/goxel
30 description = "Open Source 3D voxel editor";
31 homepage = "https://guillaumechereau.github.io/goxel/";
32 license = licenses.gpl3;
33 platforms = platforms.linux;
34 maintainers = with maintainers; [ tilpner ];