nixpkgs/pkgs/applications/misc/slade/git.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

46 lines
926 B
Nix
Raw Normal View History

{ lib
, stdenv
, fetchFromGitHub
2021-05-14 03:49:07 +00:00
, cmake
, pkg-config
, wxGTK
, sfml
, fluidsynth
, curl
, freeimage
, ftgl
, glew
, zip
, lua
, fmt
, mpg123
}:
2018-02-03 23:06:36 +00:00
stdenv.mkDerivation {
pname = "slade";
version = "unstable-2021-05-13";
2018-02-03 23:06:36 +00:00
src = fetchFromGitHub {
owner = "sirjuddington";
repo = "SLADE";
2021-05-14 03:49:07 +00:00
rev = "d2e249c89062a44c912a9b86951526edc8735ba0";
sha256 = "08dsvx7m7c97jm8fxzivmi1fr47hj53y0lv57clqc35bh2gi62dg";
2018-02-03 23:06:36 +00:00
};
2021-05-14 03:49:07 +00:00
cmakeFlags = [
"-DwxWidgets_CONFIG_EXECUTABLE=${wxGTK}/bin/wx-config"
"-DWX_GTK3=OFF"
"-DNO_WEBVIEW=1"
];
nativeBuildInputs = [ cmake pkg-config zip ];
2021-05-14 03:49:07 +00:00
buildInputs = [ wxGTK wxGTK.gtk sfml fluidsynth curl freeimage ftgl glew lua fmt mpg123 ];
2018-02-03 23:06:36 +00:00
meta = with lib; {
2018-02-03 23:06:36 +00:00
description = "Doom editor";
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 ];
};
}