1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-12 07:34:36 +00:00
nixpkgs/pkgs/misc/emulators/vbam/default.nix
R. RyanTM 804105e6b7 vbam: 2.1.2 -> 2.1.3 (#60821)
* vbam: 2.1.2 -> 2.1.3

Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/visualboyadvance-m/versions

* vbam: refactor build inputs
2019-05-03 10:16:32 +02:00

57 lines
1 KiB
Nix

{ stdenv
, cairo
, cmake
, fetchFromGitHub
, ffmpeg
, gettext
, libGLU_combined
, openal
, pkgconfig
, SDL2
, sfml
, zip
, zlib
}:
stdenv.mkDerivation rec {
name = "visualboyadvance-m-${version}";
version = "2.1.3";
src = fetchFromGitHub {
owner = "visualboyadvance-m";
repo = "visualboyadvance-m";
rev = "v${version}";
sha256 = "0ibpn05jm6zvvrjyxbmh8qwm1qd26v0dzq45cp233ksvapw1h77h";
};
nativeBuildInputs = [ cmake pkgconfig ];
buildInputs = [
cairo
ffmpeg
gettext
libGLU_combined
openal
SDL2
sfml
zip
zlib
];
cmakeFlags = [
"-DCMAKE_BUILD_TYPE='Release'"
"-DENABLE_FFMPEG='true'"
"-DENABLE_LINK='true'"
"-DSYSCONFDIR=etc"
"-DENABLE_WX='false'"
"-DENABLE_SDL='true'"
];
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;
};
}