1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/misc/emulators/vbam/default.nix

57 lines
1,011 B
Nix
Raw Normal View History

2015-06-14 23:55:24 +01:00
{ stdenv
, cairo
, cmake
2017-09-08 14:27:28 +01:00
, fetchFromGitHub
2015-06-14 23:55:24 +01:00
, ffmpeg
, gettext
, libGLU_combined
2015-06-14 23:55:24 +01:00
, openal
, pkgconfig
2017-09-08 14:27:28 +01:00
, SDL2
, sfml
2015-06-14 23:55:24 +01:00
, zip
, zlib
}:
2017-09-08 14:27:28 +01:00
stdenv.mkDerivation rec {
name = "visualboyadvance-m-${version}";
version = "2.1.2";
2017-09-08 14:27:28 +01:00
src = fetchFromGitHub {
owner = "visualboyadvance-m";
repo = "visualboyadvance-m";
2018-10-16 15:25:43 +01:00
rev = "v${version}";
sha256 = "0bgb9r6qc4g1biymayknj1fccwrdmn772i4qnc9zs3f9jrs0b34g";
2015-06-14 23:55:24 +01:00
};
buildInputs = [
cairo
cmake
ffmpeg
gettext
libGLU_combined
2015-06-14 23:55:24 +01:00
openal
pkgconfig
2017-09-08 14:27:28 +01:00
SDL2
sfml
2015-06-14 23:55:24 +01:00
zip
zlib
];
cmakeFlags = [
"-DCMAKE_BUILD_TYPE='Release'"
"-DENABLE_FFMPEG='true'"
2018-10-16 15:25:43 +01:00
"-DENABLE_LINK='true'"
"-DSYSCONFDIR=etc"
2018-10-16 15:25:43 +01:00
"-DENABLE_WX='false'"
"-DENABLE_SDL='true'"
2015-06-14 23:55:24 +01:00
];
meta = {
description = "A merge of the original Visual Boy Advance forks";
license = stdenv.lib.licenses.gpl2;
maintainers = [ stdenv.lib.maintainers.lassulus ];
homepage = http://vba-m.com/;
platforms = stdenv.lib.platforms.linux;
2015-06-14 23:55:24 +01:00
};
}