Commit 8a80c682 authored by Anderson Torres's avatar Anderson Torres
Browse files

uxn: unstable-2023-09-29 -> unstable-2023-10-23

parent 803429df
Loading
Loading
Loading
Loading
+4 −9
Original line number Diff line number Diff line
@@ -7,13 +7,13 @@

stdenv.mkDerivation (finalAttrs: {
  pname = "uxn";
  version = "unstable-2023-09-29";
  version = "unstable-2023-10-23";

  src = fetchFromSourcehut {
    owner = "~rabbits";
    repo = "uxn";
    rev = "c71842aa8472f26c0ea7fbf92624659313c038ba";
    hash = "sha256-Lo1AkK81Hv8A0jBfpR4lxlBJcWkh9LttURiXVoibKSs=";
    rev = "798ebafdc8c27529217f159f8ff53edb0a8a328f";
    hash = "sha256-OVCnJEdc/DdJJCks6c2jP9wK31VSNP1NBOsJZ2SFY+0=";
  };

  outputs = [ "out" "projects" ];
@@ -31,8 +31,7 @@ stdenv.mkDerivation (finalAttrs: {
  postPatch = ''
    patchShebangs build.sh
    substituteInPlace build.sh \
      --replace "-L/usr/local/lib " "" \
      --replace "\$(brew --prefix)/lib/libSDL2.a " ""
      --replace "-L/usr/local/lib " ""
  '';

  buildPhase = ''
@@ -65,9 +64,5 @@ stdenv.mkDerivation (finalAttrs: {
    maintainers = with lib.maintainers; [ AndersonTorres ];
    mainProgram = "uxnemu";
    inherit (SDL2.meta) platforms;
    # ofborg complains about an error trying to link inexistent SDL2 library
    # For full logs, run:
    # 'nix log /nix/store/bmyhh0lpifl9swvkpflqldv43vcrgci1-uxn-unstable-2023-08-10.drv'.
    broken = stdenv.isDarwin;
  };
})