diff options
author | Jörg Thalheim <joerg@thalheim.io> | 2022-01-15 14:07:50 +0100 |
---|---|---|
committer | Jörg Thalheim <joerg@thalheim.io> | 2022-01-16 07:14:40 +0100 |
commit | 51b69623db0905c288ca62e5b58b53a126b9fb83 (patch) | |
tree | 9deac341e7e97c0d84950dfe8aeb476cd05d2c6b /pkgs/development/interpreters/love | |
parent | e52a956960948d454e1168f436fc6ef5463cb5f0 (diff) |
love_0_7: drop
Diffstat (limited to 'pkgs/development/interpreters/love')
-rw-r--r-- | pkgs/development/interpreters/love/0.7.nix | 57 |
1 files changed, 0 insertions, 57 deletions
diff --git a/pkgs/development/interpreters/love/0.7.nix b/pkgs/development/interpreters/love/0.7.nix deleted file mode 100644 index fef04717e7d72..0000000000000 --- a/pkgs/development/interpreters/love/0.7.nix +++ /dev/null @@ -1,57 +0,0 @@ -{ lib, stdenv, fetchurl, pkg-config -, SDL, libGLU, libGL, openal, lua -, libdevil, freetype, physfs -, libmodplug, mpg123, libvorbis, libogg -, libmng -}: - -stdenv.mkDerivation rec { - pname = "love"; - version = "0.7.2"; - - src = fetchurl { - url = "https://github.com/love2d/love/releases/download/${version}/love-${version}-linux-src.tar.gz"; - sha256 = "0s7jywkvydlshlgy11ilzngrnybmq5xlgzp2v2dhlffwrfqdqym5"; - }; - - # see discussion on arch linux user repository (https://aur.archlinux.org/packages/love07/?setlang=cs#comment-684696) - patches = [ ./0.7-gl-prototypes.patch ]; - - nativeBuildInputs = [ pkg-config ]; - buildInputs = [ - SDL libGLU libGL openal lua - libdevil freetype physfs libmodplug mpg123 libvorbis libogg libmng - ]; - - preConfigure = '' - luaoptions="${"''"} lua luajit " - for i in lua luajit-; do - for j in 5 5.0 5.1 5.2 5.3 5.4; do - luaoptions="$luaoptions $i$j " - done - done - luaso="$(echo "${lua}/lib/"lib*.so.*)" - luaso="''${luaso##*/lib}" - luaso="''${luaso%%.so*}" - luaoptions="$luaoptions $luaso" - sed -e "s/${"''"} lua lua.*;/$luaoptions;/" -i configure - - luaincdir="$(echo "${lua}/include"/*/ )" - test -d "$luaincdir" && { - export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -I$luaincdir" - } || true - ''; - - NIX_CFLAGS_COMPILE = '' - -I${SDL.dev}/include/SDL - -I${freetype.dev}include/freetype2 - ''; - - meta = { - homepage = "https://love2d.org"; - description = "A Lua-based 2D game engine/scripting language"; - license = lib.licenses.zlib; - platforms = lib.platforms.linux; - maintainers = [ lib.maintainers.raskin ]; - }; -} |