nixpkgs/pkgs/by-name/so/sopwith/package.nix
2024-10-27 04:22:08 +00:00

42 lines
760 B
Nix
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{ lib
, stdenv
, fetchFromGitHub
, glib
, SDL2
, libGL
, pkg-config
, autoreconfHook
}:
stdenv.mkDerivation rec {
pname = "sopwith";
version = "2.6.0";
src = fetchFromGitHub {
owner = "fragglet";
repo = "sdl-sopwith";
rev = "refs/tags/sdl-sopwith-${version}";
hash = "sha256-sjg61QgcQDSQ/qrR+4PEZIf8OOnGBZvUSLCKGpS1bwg=";
};
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;
};
}