2016-12-25 00:22:25 +00:00
|
|
|
{ stdenv, fetchFromGitHub, cmake, pkgconfig, wxGTK, gtk2, sfml, fluidsynth, curl, freeimage, ftgl, glew, zip }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "slade-${version}";
|
2017-01-29 17:03:45 +00:00
|
|
|
version = "3.1.1.5";
|
2016-12-25 00:22:25 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "sirjuddington";
|
|
|
|
repo = "SLADE";
|
|
|
|
rev = version;
|
2017-01-29 17:03:45 +00:00
|
|
|
sha256 = "0mdn59jm6ab4cdh99bgvadif3wdlqmk5mq635gg7krq35njgw6f6";
|
2016-12-25 00:22:25 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ cmake pkgconfig zip ];
|
|
|
|
buildInputs = [ wxGTK gtk2 sfml fluidsynth curl freeimage ftgl glew ];
|
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Doom editor";
|
|
|
|
homepage = "http://slade.mancubus.net/";
|
|
|
|
license = licenses.gpl2;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = with maintainers; [ abbradar ];
|
|
|
|
};
|
|
|
|
}
|