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