2021-11-07 21:29:51 +01:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchFromGitHub
|
2021-05-14 05:49:07 +02:00
|
|
|
, cmake
|
|
|
|
, pkg-config
|
|
|
|
, wxGTK
|
|
|
|
, sfml
|
|
|
|
, fluidsynth
|
|
|
|
, curl
|
|
|
|
, freeimage
|
|
|
|
, ftgl
|
|
|
|
, glew
|
|
|
|
, zip
|
|
|
|
, lua
|
|
|
|
, fmt
|
|
|
|
, mpg123
|
|
|
|
}:
|
2018-02-04 00:06:36 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2021-11-07 21:29:51 +01:00
|
|
|
pname = "slade";
|
|
|
|
version = "unstable-2021-05-13";
|
2018-02-04 00:06:36 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "sirjuddington";
|
|
|
|
repo = "SLADE";
|
2021-05-14 05:49:07 +02:00
|
|
|
rev = "d2e249c89062a44c912a9b86951526edc8735ba0";
|
|
|
|
sha256 = "08dsvx7m7c97jm8fxzivmi1fr47hj53y0lv57clqc35bh2gi62dg";
|
2018-02-04 00:06:36 +01:00
|
|
|
};
|
|
|
|
|
2021-05-14 05:49:07 +02:00
|
|
|
cmakeFlags = [
|
|
|
|
"-DwxWidgets_CONFIG_EXECUTABLE=${wxGTK}/bin/wx-config"
|
|
|
|
"-DWX_GTK3=OFF"
|
|
|
|
"-DNO_WEBVIEW=1"
|
|
|
|
];
|
2021-01-17 03:09:27 +01:00
|
|
|
nativeBuildInputs = [ cmake pkg-config zip ];
|
2021-05-14 05:49:07 +02:00
|
|
|
buildInputs = [ wxGTK wxGTK.gtk sfml fluidsynth curl freeimage ftgl glew lua fmt mpg123 ];
|
2018-02-04 00:06:36 +01:00
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2018-02-04 00:06:36 +01:00
|
|
|
description = "Doom editor";
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "http://slade.mancubus.net/";
|
2018-02-04 00:06:36 +01:00
|
|
|
license = licenses.gpl2Plus;
|
2018-03-09 14:30:55 +01:00
|
|
|
platforms = [ "x86_64-linux" "i686-linux" ];
|
2018-02-04 00:06:36 +01:00
|
|
|
maintainers = with maintainers; [ ertes ];
|
|
|
|
};
|
|
|
|
}
|