nixpkgs/pkgs/applications/graphics/goxel/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

34 lines
796 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub, scons, pkg-config, wrapGAppsHook
2018-01-15 06:20:03 +01:00
, glfw3, gtk3, libpng12 }:
stdenv.mkDerivation rec {
pname = "goxel";
2023-04-02 14:01:09 +02:00
version = "0.12.0";
2018-01-15 06:20:03 +01:00
src = fetchFromGitHub {
owner = "guillaumechereau";
repo = "goxel";
rev = "v${version}";
2023-04-02 14:01:09 +02:00
hash = "sha256-taDe5xJU6ijikHaSMDYs/XE2O66X3J7jOKWzbj7hrN0=";
2018-01-15 06:20:03 +01:00
};
nativeBuildInputs = [ scons pkg-config wrapGAppsHook ];
2018-01-15 06:20:03 +01:00
buildInputs = [ glfw3 gtk3 libpng12 ];
2022-12-23 17:57:29 +01:00
2018-01-15 06:20:03 +01:00
buildPhase = ''
make release
'';
installPhase = ''
install -D ./goxel $out/bin/goxel
'';
meta = with lib; {
2018-01-15 06:20:03 +01:00
description = "Open Source 3D voxel editor";
homepage = "https://guillaumechereau.github.io/goxel/";
2018-01-15 06:20:03 +01:00
license = licenses.gpl3;
platforms = platforms.linux;
2023-04-02 14:26:27 +02:00
maintainers = with maintainers; [ tilpner fgaz ];
2018-01-15 06:20:03 +01:00
};
}