mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-09 19:13:26 +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,
|
||||
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 = [ ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue