uxn: unstable-2022-10-22 -> unstable-2023-07-26
This commit is contained in:
parent
8f8e2bc2fd
commit
850c828230
|
@ -2,25 +2,24 @@
|
||||||
, stdenv
|
, stdenv
|
||||||
, fetchFromSourcehut
|
, fetchFromSourcehut
|
||||||
, SDL2
|
, SDL2
|
||||||
|
, unstableGitUpdater
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
pname = "uxn";
|
pname = "uxn";
|
||||||
version = "unstable-2022-10-22";
|
version = "unstable-2023-07-26";
|
||||||
|
|
||||||
src = fetchFromSourcehut {
|
src = fetchFromSourcehut {
|
||||||
owner = "~rabbits";
|
owner = "~rabbits";
|
||||||
repo = "uxn";
|
repo = "uxn";
|
||||||
rev = "1b2049e238df96f32335edf1c6db35bd09f8b42d";
|
rev = "e2e5e8653193e2797131813938cb0d633ca3f40c";
|
||||||
hash = "sha256-lwms+qUelfpTC+i2m5b3dW7ww9298YMPFdPVsFrwcDQ=";
|
hash = "sha256-VZYvpHUyNeJMsX2ccLEBRuHgdgwOVuv+iakPiHnGAfg=";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
SDL2
|
SDL2
|
||||||
];
|
];
|
||||||
|
|
||||||
dontConfigure = true;
|
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
sed -i -e 's|UXNEMU_LDFLAGS="$(brew.*$|UXNEMU_LDFLAGS="$(sdl2-config --cflags --libs)"|' build.sh
|
sed -i -e 's|UXNEMU_LDFLAGS="$(brew.*$|UXNEMU_LDFLAGS="$(sdl2-config --cflags --libs)"|' build.sh
|
||||||
'';
|
'';
|
||||||
|
@ -44,11 +43,13 @@ stdenv.mkDerivation {
|
||||||
runHook postInstall
|
runHook postInstall
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
passthru.updateScript = unstableGitUpdater { };
|
||||||
|
|
||||||
|
meta = {
|
||||||
homepage = "https://wiki.xxiivv.com/site/uxn.html";
|
homepage = "https://wiki.xxiivv.com/site/uxn.html";
|
||||||
description = "An assembler and emulator for the Uxn stack machine";
|
description = "An assembler and emulator for the Uxn stack machine";
|
||||||
license = with licenses; [ mit ];
|
license = lib.licenses.mit;
|
||||||
maintainers = with maintainers; [ AndersonTorres kototama ];
|
maintainers = with lib.maintainers; [ AndersonTorres kototama ];
|
||||||
platforms = with platforms; unix;
|
inherit (SDL2.meta) platforms;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue