f34ce41345
GitOrigin-RevId: b73c2221a46c13557b1b3be9c2070cc42cf01eb3
33 lines
861 B
Nix
33 lines
861 B
Nix
{ lib, stdenv, fetchFromGitHub, scons, pkg-config, wrapGAppsHook3
|
|
, glfw3, gtk3, libpng }:
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "goxel";
|
|
version = "0.15.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "guillaumechereau";
|
|
repo = "goxel";
|
|
rev = "v${finalAttrs.version}";
|
|
hash = "sha256-bJnIZwTmvHNHXYq3zsMwu0EORtX2o9lLi6LFNrolwe4=";
|
|
};
|
|
|
|
nativeBuildInputs = [ scons pkg-config wrapGAppsHook3 ];
|
|
buildInputs = [ glfw3 gtk3 libpng ];
|
|
|
|
dontUseSconsBuild = true;
|
|
dontUseSconsInstall = true;
|
|
|
|
makeFlags = [ "PREFIX=$(out)" ];
|
|
|
|
buildFlags = [ "release" ];
|
|
|
|
meta = with lib; {
|
|
description = "Open Source 3D voxel editor";
|
|
mainProgram = "goxel";
|
|
homepage = "https://guillaumechereau.github.io/goxel/";
|
|
license = licenses.gpl3;
|
|
platforms = platforms.linux;
|
|
maintainers = with maintainers; [ tilpner fgaz ];
|
|
};
|
|
})
|