nixpkgs/pkgs/by-name/so/sopwith/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

42 lines
761 B
Nix
Raw Normal View History

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