Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
81 lines
1.4 KiB
Nix
81 lines
1.4 KiB
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromGitHub,
|
|
cmake,
|
|
pkg-config,
|
|
which,
|
|
zip,
|
|
wxGTK32,
|
|
gtk3,
|
|
sfml_2,
|
|
fluidsynth,
|
|
curl,
|
|
ftgl,
|
|
glew,
|
|
lua,
|
|
mpg123,
|
|
wrapGAppsHook3,
|
|
unstableGitUpdater,
|
|
libwebp,
|
|
}:
|
|
|
|
stdenv.mkDerivation {
|
|
pname = "slade";
|
|
version = "3.2.7-unstable-2025-09-30";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "sirjuddington";
|
|
repo = "SLADE";
|
|
rev = "8ad6609784de6fef6b35f1508b6d5d8a3084aa17";
|
|
hash = "sha256-XYg0k5ZOZ/M/4X0+6pjJEMK0sIVqu/1LtmJaeq6iOvM=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
cmake
|
|
pkg-config
|
|
which
|
|
zip
|
|
wrapGAppsHook3
|
|
];
|
|
|
|
buildInputs = [
|
|
wxGTK32
|
|
gtk3
|
|
sfml_2
|
|
fluidsynth
|
|
curl
|
|
ftgl
|
|
glew
|
|
lua
|
|
mpg123
|
|
libwebp
|
|
];
|
|
|
|
cmakeFlags = [
|
|
"-DwxWidgets_LIBRARIES=${wxGTK32}/lib"
|
|
(lib.cmakeFeature "CL_WX_CONFIG" (lib.getExe' (lib.getDev wxGTK32) "wx-config"))
|
|
];
|
|
|
|
env.NIX_CFLAGS_COMPILE = "-Wno-narrowing";
|
|
|
|
preFixup = ''
|
|
gappsWrapperArgs+=(
|
|
--prefix GDK_BACKEND : x11
|
|
)
|
|
'';
|
|
|
|
passthru.updateScript = unstableGitUpdater {
|
|
url = "https://github.com/sirjuddington/SLADE.git";
|
|
};
|
|
|
|
meta = {
|
|
description = "Doom editor";
|
|
homepage = "http://slade.mancubus.net/";
|
|
mainProgram = "slade";
|
|
license = lib.licenses.gpl2Only; # https://github.com/sirjuddington/SLADE/issues/1754
|
|
platforms = lib.platforms.linux;
|
|
maintainers = with lib.maintainers; [ Gliczy ];
|
|
};
|
|
}
|