Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
43 lines
760 B
Nix
43 lines
760 B
Nix
{
|
||
lib,
|
||
stdenv,
|
||
fetchFromGitHub,
|
||
glib,
|
||
SDL2,
|
||
libGL,
|
||
pkg-config,
|
||
autoreconfHook,
|
||
}:
|
||
|
||
stdenv.mkDerivation rec {
|
||
pname = "sopwith";
|
||
version = "2.8.0";
|
||
|
||
src = fetchFromGitHub {
|
||
owner = "fragglet";
|
||
repo = "sdl-sopwith";
|
||
tag = "sdl-sopwith-${version}";
|
||
hash = "sha256-s7npLid3GYZArQmctSwOu8zeC+mSfTiiiOaOEa9dcrg=";
|
||
};
|
||
|
||
nativeBuildInputs = [
|
||
autoreconfHook
|
||
pkg-config
|
||
];
|
||
|
||
buildInputs = [
|
||
glib
|
||
SDL2
|
||
libGL
|
||
];
|
||
|
||
meta = with lib; {
|
||
homepage = "https://github.com/fragglet/sdl-sopwith";
|
||
description = "Classic biplane shoot ‘em-up game";
|
||
license = licenses.gpl2Plus;
|
||
mainProgram = "sopwith";
|
||
maintainers = with maintainers; [ evilbulgarian ];
|
||
platforms = platforms.unix;
|
||
};
|
||
}
|