nixpkgs/pkgs/by-name/go/goxel/package.nix

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

34 lines
861 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub, scons, pkg-config, wrapGAppsHook3
, glfw3, gtk3, libpng }:
2018-01-15 05:20:03 +00:00
2024-02-19 15:05:10 +00:00
stdenv.mkDerivation (finalAttrs: {
pname = "goxel";
2024-08-03 08:58:40 +00:00
version = "0.15.1";
2018-01-15 05:20:03 +00:00
src = fetchFromGitHub {
owner = "guillaumechereau";
repo = "goxel";
2024-02-19 15:05:10 +00:00
rev = "v${finalAttrs.version}";
2024-08-03 08:58:40 +00:00
hash = "sha256-mNSkQisWL3wXb+IsClWFTMbpeiRC4xteePXNP+GkUnU=";
2018-01-15 05:20:03 +00:00
};
nativeBuildInputs = [ scons pkg-config wrapGAppsHook3 ];
buildInputs = [ glfw3 gtk3 libpng ];
2022-12-23 16:57:29 +00:00
dontUseSconsBuild = true;
dontUseSconsInstall = true;
2018-01-15 05:20:03 +00:00
makeFlags = [ "PREFIX=$(out)" ];
2023-12-01 21:17:20 +00:00
buildFlags = [ "release" ];
2018-01-15 05:20:03 +00:00
meta = with lib; {
2018-01-15 05:20:03 +00:00
description = "Open Source 3D voxel editor";
mainProgram = "goxel";
homepage = "https://guillaumechereau.github.io/goxel/";
2018-01-15 05:20:03 +00:00
license = licenses.gpl3;
platforms = platforms.linux;
2023-04-02 12:26:27 +00:00
maintainers = with maintainers; [ tilpner fgaz ];
2018-01-15 05:20:03 +00:00
};
2024-02-19 15:05:10 +00:00
})