2024-04-21 15:54:59 +00:00
|
|
|
|
{ lib
|
|
|
|
|
, stdenv
|
|
|
|
|
, fetchFromGitHub
|
|
|
|
|
, glib
|
|
|
|
|
, SDL2
|
|
|
|
|
, libGL
|
|
|
|
|
, pkg-config
|
|
|
|
|
, autoreconfHook
|
|
|
|
|
}:
|
|
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
|
pname = "sopwith";
|
2024-10-29 11:11:06 +00:00
|
|
|
|
version = "2.6.0";
|
2024-04-21 15:54:59 +00:00
|
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
|
owner = "fragglet";
|
|
|
|
|
repo = "sdl-sopwith";
|
|
|
|
|
rev = "refs/tags/sdl-sopwith-${version}";
|
2024-10-29 11:11:06 +00:00
|
|
|
|
hash = "sha256-sjg61QgcQDSQ/qrR+4PEZIf8OOnGBZvUSLCKGpS1bwg=";
|
2024-04-21 15:54:59 +00:00
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
|
autoreconfHook
|
|
|
|
|
pkg-config
|
|
|
|
|
];
|
|
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
|
glib
|
|
|
|
|
SDL2
|
|
|
|
|
libGL
|
|
|
|
|
];
|
|
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
|
homepage = "https://github.com/fragglet/sdl-sopwith";
|
2024-06-20 14:57:18 +00:00
|
|
|
|
description = "Classic biplane shoot ‘em-up game";
|
2024-04-21 15:54:59 +00:00
|
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
|
mainProgram = "sopwith";
|
|
|
|
|
maintainers = with maintainers; [ evilbulgarian ];
|
|
|
|
|
platforms = platforms.unix;
|
|
|
|
|
};
|
|
|
|
|
}
|