67b3dcde4c
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/goxel/versions. These checks were done: - built on NixOS - ran ‘/nix/store/af30rki4lvc9cinx3nxq1nqdnfgi6g1b-goxel-0.8.0/bin/goxel --help’ got 0 exit code - ran ‘/nix/store/af30rki4lvc9cinx3nxq1nqdnfgi6g1b-goxel-0.8.0/bin/goxel -V’ and found version 0.8.0 - ran ‘/nix/store/af30rki4lvc9cinx3nxq1nqdnfgi6g1b-goxel-0.8.0/bin/goxel --version’ and found version 0.8.0 - ran ‘/nix/store/af30rki4lvc9cinx3nxq1nqdnfgi6g1b-goxel-0.8.0/bin/.goxel-wrapped --help’ got 0 exit code - ran ‘/nix/store/af30rki4lvc9cinx3nxq1nqdnfgi6g1b-goxel-0.8.0/bin/.goxel-wrapped -V’ and found version 0.8.0 - ran ‘/nix/store/af30rki4lvc9cinx3nxq1nqdnfgi6g1b-goxel-0.8.0/bin/.goxel-wrapped --version’ and found version 0.8.0 - found 0.8.0 with grep in /nix/store/af30rki4lvc9cinx3nxq1nqdnfgi6g1b-goxel-0.8.0 - directory tree listing: https://gist.github.com/ee8a96a0b785c0293e1e477b693c483b
33 lines
806 B
Nix
33 lines
806 B
Nix
{ stdenv, lib, fetchFromGitHub, scons, pkgconfig, wrapGAppsHook
|
|
, glfw3, gtk3, libpng12 }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "goxel-${version}";
|
|
version = "0.8.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "guillaumechereau";
|
|
repo = "goxel";
|
|
rev = "v${version}";
|
|
sha256 = "01022c43pmwiqb18rx9fz08xr99h6p03gw6bp0lay5z61g3xkz17";
|
|
};
|
|
|
|
nativeBuildInputs = [ scons pkgconfig wrapGAppsHook ];
|
|
buildInputs = [ glfw3 gtk3 libpng12 ];
|
|
|
|
buildPhase = ''
|
|
make release
|
|
'';
|
|
|
|
installPhase = ''
|
|
install -D ./goxel $out/bin/goxel
|
|
'';
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Open Source 3D voxel editor";
|
|
homepage = https://guillaumechereau.github.io/goxel/;
|
|
license = licenses.gpl3;
|
|
platforms = platforms.linux;
|
|
maintainers = with maintainers; [ tilpner ];
|
|
};
|
|
}
|