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