mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-12 04:35:41 +03:00
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:
parent
510f5d1799
commit
c234cae7fa
1 changed files with 14 additions and 10 deletions
|
@ -1,28 +1,32 @@
|
||||||
{
|
{
|
||||||
lib,
|
lib,
|
||||||
stdenv,
|
stdenv,
|
||||||
fetchurl,
|
fetchFromGitLab,
|
||||||
zlib,
|
|
||||||
SDL,
|
|
||||||
cmake,
|
cmake,
|
||||||
|
zlib,
|
||||||
|
SDL2,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation (finalAttrs: {
|
||||||
pname = "hatari";
|
pname = "hatari";
|
||||||
version = "2.3.1";
|
version = "2.5.0";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchFromGitLab {
|
||||||
url = "https://download.tuxfamily.org/hatari/${version}/${pname}-${version}.tar.bz2";
|
domain = "framagit.org";
|
||||||
sha256 = "sha256-RKL2LKmV442eCHSAaVbwucPMhOqJ4BaaY4SbY807ZL0=";
|
owner = "hatari";
|
||||||
|
repo = "hatari";
|
||||||
|
tag = "v${finalAttrs.version}";
|
||||||
|
hash = "sha256-RC+KA6rNG4Hk3dvTtejiHl9+pPHImALF0Ho5QuTtjz4=";
|
||||||
};
|
};
|
||||||
|
|
||||||
# For pthread_cancel
|
# For pthread_cancel
|
||||||
cmakeFlags = [ "-DCMAKE_EXE_LINKER_FLAGS=-lgcc_s" ];
|
cmakeFlags = [ "-DCMAKE_EXE_LINKER_FLAGS=-lgcc_s" ];
|
||||||
|
|
||||||
nativeBuildInputs = [ cmake ];
|
nativeBuildInputs = [ cmake ];
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
zlib
|
zlib
|
||||||
SDL
|
SDL2
|
||||||
];
|
];
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
|
@ -32,4 +36,4 @@ stdenv.mkDerivation rec {
|
||||||
platforms = lib.platforms.linux;
|
platforms = lib.platforms.linux;
|
||||||
maintainers = [ ];
|
maintainers = [ ];
|
||||||
};
|
};
|
||||||
}
|
})
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue