@@ -1,18 +1,36 @@
1−{ lib, stdenv, fetchFromGitHub, cmake, pkg-config, wxGTK, gtk2, sfml, fluidsynth, curl, freeimage, ftgl, glew, zip }:
1+{ lib, stdenv, fetchFromGitHub
2+, cmake
3+, pkg-config
4+, wxGTK
5+, sfml
6+, fluidsynth
7+, curl
8+, freeimage
9+, ftgl
10+, glew
11+, zip
12+, lua
13+, fmt
14+, mpg123
15+}:
216
317stdenv.mkDerivation {
4− name = "slade-git-3.1.2.2018.01.29";
18+ name = "slade-git-3.2.0.2021.05.13";
519
620 src = fetchFromGitHub {
721 owner = "sirjuddington";
822 repo = "SLADE";
9− rev = "f7409c504b40c4962f419038db934c32688ddd2e";
10− sha256 = "14icxiy0r9rlcc10skqs1ylnxm1f0f3irhzfmx4sazq0pjv5ivld";
23+ rev = "d2e249c89062a44c912a9b86951526edc8735ba0";
24+ sha256 = "08dsvx7m7c97jm8fxzivmi1fr47hj53y0lv57clqc35bh2gi62dg";
1125 };
1226
13− cmakeFlags = ["-DNO_WEBVIEW=1"];
27+ cmakeFlags = [
28+ "-DwxWidgets_CONFIG_EXECUTABLE=${wxGTK}/bin/wx-config"
29+ "-DWX_GTK3=OFF"
30+ "-DNO_WEBVIEW=1"
31+ ];
1432 nativeBuildInputs = [ cmake pkg-config zip ];
15− buildInputs = [ wxGTK gtk2 sfml fluidsynth curl freeimage ftgl glew ];
33+ buildInputs = [ wxGTK wxGTK.gtk sfml fluidsynth curl freeimage ftgl glew lua fmt mpg123 ];
1634
1735 meta = with lib; {
1836 description = "Doom editor";