Unverified Commit 73b24a74 authored by Ulysses Zhan's avatar Ulysses Zhan
Browse files

stone-kingdoms: support darwin

parent 69b32c81
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -17,7 +17,7 @@ stdenvNoCC.mkDerivation rec {
  src = fetchFromGitLab {
    owner = "stone-kingdoms";
    repo = "stone-kingdoms";
    rev = version;
    tag = version;
    hash = "sha256-W2hzJg22O857Kh7CJVVHV5qu8QKjXCwW3hmgKBc0n2g=";
  };

@@ -46,7 +46,7 @@ stdenvNoCC.mkDerivation rec {
    strip-nondeterminism --type zip stone-kingdoms.love
    install -Dm755 -t $out/share/games/lovegames/ stone-kingdoms.love
    install -Dm644 assets/other/icon.png $out/share/icons/hicolor/256x256/apps/stone-kingdoms.png
    makeWrapper ${love}/bin/love $out/bin/stone-kingdoms \
    makeWrapper ${lib.getExe love} $out/bin/stone-kingdoms \
      --add-flags $out/share/games/lovegames/stone-kingdoms.love
    runHook postInstall
  '';
@@ -54,7 +54,7 @@ stdenvNoCC.mkDerivation rec {
  meta = {
    description = "Real-time strategy game made with LÖVE based on the original Stronghold by Firefly studios";
    homepage = "https://gitlab.com/stone-kingdoms/stone-kingdoms";
    platforms = lib.platforms.linux;
    platforms = love.meta.platforms;
    license = with lib.licenses; [
      asl20 # engine
      unfree # game assets