hatari: 2.3.1 -> 2.5.0

Diff: https://framagit.org/hatari/hatari/-/compare/refs/tags/v2.3.1...2.5.0
This commit is contained in:
emaryn 2025-04-30 05:49:52 +08:00
parent 510f5d1799
commit c234cae7fa

View file

@ -1,28 +1,32 @@
{
lib,
stdenv,
fetchurl,
zlib,
SDL,
fetchFromGitLab,
cmake,
zlib,
SDL2,
}:
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
pname = "hatari";
version = "2.3.1";
version = "2.5.0";
src = fetchurl {
url = "https://download.tuxfamily.org/hatari/${version}/${pname}-${version}.tar.bz2";
sha256 = "sha256-RKL2LKmV442eCHSAaVbwucPMhOqJ4BaaY4SbY807ZL0=";
src = fetchFromGitLab {
domain = "framagit.org";
owner = "hatari";
repo = "hatari";
tag = "v${finalAttrs.version}";
hash = "sha256-RC+KA6rNG4Hk3dvTtejiHl9+pPHImALF0Ho5QuTtjz4=";
};
# For pthread_cancel
cmakeFlags = [ "-DCMAKE_EXE_LINKER_FLAGS=-lgcc_s" ];
nativeBuildInputs = [ cmake ];
buildInputs = [
zlib
SDL
SDL2
];
meta = {
@ -32,4 +36,4 @@ stdenv.mkDerivation rec {
platforms = lib.platforms.linux;
maintainers = [ ];
};
}
})