1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-24 14:41:17 +00:00

attract-mode: init at 2.2.0

This commit is contained in:
Christoph Hrdinka 2017-02-10 12:25:26 +01:00
parent 2fdb6d29ab
commit 95ee742dcd
No known key found for this signature in database
GPG key ID: 72F8CDD6B2D585C9
2 changed files with 35 additions and 0 deletions

View file

@ -0,0 +1,33 @@
{ expat, fetchFromGitHub, ffmpeg, fontconfig, freetype, libarchive, libjpeg
, mesa, openal, pkgconfig, sfml, stdenv, zlib
}:
stdenv.mkDerivation rec {
name = "attract-mode-${version}";
version = "2.2.0";
src = fetchFromGitHub {
owner = "mickelson";
repo = "attract";
rev = "v${version}";
sha256 = "1arkfj0q3n1qbq5jwmal0kixxph8lnmv3g9bli36inab4r8zzmp8";
};
nativeBuildInputs = [ pkgconfig ];
patchPhase = ''
sed -i "s|prefix=/usr/local|prefix=$out|" Makefile
'';
buildInputs = [
expat ffmpeg fontconfig freetype libarchive libjpeg mesa openal sfml zlib
];
meta = with stdenv.lib; {
description = "A frontend for arcade cabinets and media PCs";
homepage = http://attractmode.org;
license = licenses.gpl3Plus;
maintainers = with maintainers; [ hrdinka ];
platforms = with platforms; linux;
};
}

View file

@ -17409,6 +17409,8 @@ with pkgs;
areca = callPackage ../applications/backup/areca { };
attract-mode = callPackage ../misc/emulators/attract-mode { };
beep = callPackage ../misc/beep { };
blackbird = callPackage ../misc/themes/blackbird { };