|
|
|
@ -1,4 +1,4 @@ |
|
|
|
|
{ lib, stdenv, fetchurl, makeWrapper, pkg-config, gettext, imagemagick, curl, libpng, SDL2, SDL2_image, SDL2_mixer, SDL2_ttf, xercesc, xdg_utils, hicolor-icon-theme }: |
|
|
|
|
{ lib, stdenv, fetchurl, makeWrapper, pkg-config, gettext, imagemagick, curl, libpng, SDL2, SDL2_image, SDL2_mixer, SDL2_ttf, xercesc, xdg-utils, hicolor-icon-theme }: |
|
|
|
|
stdenv.mkDerivation rec { |
|
|
|
|
pname = "enigma"; |
|
|
|
|
version = "1.30-alpha"; |
|
|
|
@ -9,7 +9,7 @@ stdenv.mkDerivation rec { |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
nativeBuildInputs = [ pkg-config gettext makeWrapper imagemagick ]; |
|
|
|
|
buildInputs = [ SDL2 SDL2_image SDL2_mixer SDL2_ttf libpng xercesc curl xdg_utils ]; |
|
|
|
|
buildInputs = [ SDL2 SDL2_image SDL2_mixer SDL2_ttf libpng xercesc curl xdg-utils ]; |
|
|
|
|
|
|
|
|
|
# For some reason (might be related to the alpha status), some includes |
|
|
|
|
# which are required by lib-src/enigma-core are not picked up by the |
|
|
|
@ -18,7 +18,7 @@ stdenv.mkDerivation rec { |
|
|
|
|
|
|
|
|
|
postInstall = '' |
|
|
|
|
rm -r $out/include |
|
|
|
|
wrapProgram $out/bin/enigma --prefix PATH : "${lib.makeBinPath [ xdg_utils ]}" |
|
|
|
|
wrapProgram $out/bin/enigma --prefix PATH : "${lib.makeBinPath [ xdg-utils ]}" |
|
|
|
|
''; |
|
|
|
|
|
|
|
|
|
meta = with lib; { |
|
|
|
|