mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 15:22:59 +01:00
42 lines
909 B
Nix
42 lines
909 B
Nix
{ lib, stdenv, fetchFromGitHub
|
|
, cmake
|
|
, pkg-config
|
|
, wxGTK
|
|
, sfml
|
|
, fluidsynth
|
|
, curl
|
|
, freeimage
|
|
, ftgl
|
|
, glew
|
|
, zip
|
|
, lua
|
|
, fmt
|
|
, mpg123
|
|
}:
|
|
|
|
stdenv.mkDerivation {
|
|
name = "slade-git-3.2.0.2021.05.13";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "sirjuddington";
|
|
repo = "SLADE";
|
|
rev = "d2e249c89062a44c912a9b86951526edc8735ba0";
|
|
sha256 = "08dsvx7m7c97jm8fxzivmi1fr47hj53y0lv57clqc35bh2gi62dg";
|
|
};
|
|
|
|
cmakeFlags = [
|
|
"-DwxWidgets_CONFIG_EXECUTABLE=${wxGTK}/bin/wx-config"
|
|
"-DWX_GTK3=OFF"
|
|
"-DNO_WEBVIEW=1"
|
|
];
|
|
nativeBuildInputs = [ cmake pkg-config zip ];
|
|
buildInputs = [ wxGTK wxGTK.gtk sfml fluidsynth curl freeimage ftgl glew lua fmt mpg123 ];
|
|
|
|
meta = with lib; {
|
|
description = "Doom editor";
|
|
homepage = "http://slade.mancubus.net/";
|
|
license = licenses.gpl2Plus;
|
|
platforms = [ "x86_64-linux" "i686-linux" ];
|
|
maintainers = with maintainers; [ ertes ];
|
|
};
|
|
}
|