mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-24 06:33:42 +00:00
ff1a94e523
The nixpkgs-unstable channel's programs.sqlite was used to identify packages producing exactly one binary, and these automatically added to their package definitions wherever possible.
56 lines
889 B
Nix
56 lines
889 B
Nix
{ boost
|
|
, cmake
|
|
, fetchFromGitHub
|
|
, lib
|
|
, libGLU
|
|
, libGL
|
|
, openssl
|
|
, pkg-config
|
|
, SDL
|
|
, SDL_image
|
|
, SDL_mixer
|
|
, SDL_gfx
|
|
, stdenv
|
|
, yaml-cpp
|
|
, zlib
|
|
}:
|
|
|
|
stdenv.mkDerivation {
|
|
pname = "openxcom";
|
|
version = "1.0.0.2023.08.12";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "OpenXcom";
|
|
repo = "OpenXcom";
|
|
rev = "bd632cc8569a57fdc3b68ce53f6ea850422ec5ac";
|
|
hash = "sha256-ouYZ4rAEluqeP+ZUrbEZwCpXCw0cZLWsf1GbIE3jaTc=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
cmake
|
|
pkg-config
|
|
];
|
|
|
|
buildInputs = [
|
|
boost
|
|
libGL
|
|
libGLU
|
|
SDL
|
|
SDL_gfx
|
|
SDL_image
|
|
SDL_mixer
|
|
yaml-cpp
|
|
openssl
|
|
zlib
|
|
];
|
|
|
|
meta = {
|
|
description = "Open source clone of UFO: Enemy Unknown";
|
|
mainProgram = "openxcom";
|
|
homepage = "https://openxcom.org";
|
|
license = lib.licenses.gpl3;
|
|
maintainers = with lib.maintainers; [ cpages ];
|
|
platforms = lib.platforms.linux;
|
|
};
|
|
}
|