From 850c828230fa6e5d8079594e1b1c823ae4cc6a6c Mon Sep 17 00:00:00 2001 From: Anderson Torres Date: Sat, 29 Jul 2023 08:48:01 -0300 Subject: [PATCH] uxn: unstable-2022-10-22 -> unstable-2023-07-26 --- pkgs/applications/emulators/uxn/default.nix | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/pkgs/applications/emulators/uxn/default.nix b/pkgs/applications/emulators/uxn/default.nix index 935207321c5..5d18fb68e4f 100644 --- a/pkgs/applications/emulators/uxn/default.nix +++ b/pkgs/applications/emulators/uxn/default.nix @@ -2,25 +2,24 @@ , stdenv , fetchFromSourcehut , SDL2 +, unstableGitUpdater }: stdenv.mkDerivation { pname = "uxn"; - version = "unstable-2022-10-22"; + version = "unstable-2023-07-26"; src = fetchFromSourcehut { owner = "~rabbits"; repo = "uxn"; - rev = "1b2049e238df96f32335edf1c6db35bd09f8b42d"; - hash = "sha256-lwms+qUelfpTC+i2m5b3dW7ww9298YMPFdPVsFrwcDQ="; + rev = "e2e5e8653193e2797131813938cb0d633ca3f40c"; + hash = "sha256-VZYvpHUyNeJMsX2ccLEBRuHgdgwOVuv+iakPiHnGAfg="; }; buildInputs = [ SDL2 ]; - dontConfigure = true; - postPatch = '' sed -i -e 's|UXNEMU_LDFLAGS="$(brew.*$|UXNEMU_LDFLAGS="$(sdl2-config --cflags --libs)"|' build.sh ''; @@ -44,11 +43,13 @@ stdenv.mkDerivation { runHook postInstall ''; - meta = with lib; { + passthru.updateScript = unstableGitUpdater { }; + + meta = { homepage = "https://wiki.xxiivv.com/site/uxn.html"; description = "An assembler and emulator for the Uxn stack machine"; - license = with licenses; [ mit ]; - maintainers = with maintainers; [ AndersonTorres kototama ]; - platforms = with platforms; unix; + license = lib.licenses.mit; + maintainers = with lib.maintainers; [ AndersonTorres kototama ]; + inherit (SDL2.meta) platforms; }; }