2024-04-21 15:54:59 +00:00
|
|
|
|
{ lib
|
|
|
|
|
, stdenv
|
|
|
|
|
, fetchFromGitHub
|
|
|
|
|
, glib
|
|
|
|
|
, SDL2
|
|
|
|
|
, libGL
|
|
|
|
|
, pkg-config
|
|
|
|
|
, autoreconfHook
|
|
|
|
|
}:
|
|
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
|
pname = "sopwith";
|
|
|
|
|
version = "2.5.0";
|
|
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
|
owner = "fragglet";
|
|
|
|
|
repo = "sdl-sopwith";
|
|
|
|
|
rev = "refs/tags/sdl-sopwith-${version}";
|
|
|
|
|
hash = "sha256-e7/Cv/v5NhYG5eb9B5oVxh/Dbmm2v4Y4KUKI4JI5SFw=";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
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;
|
|
|
|
|
};
|
|
|
|
|
}
|