nixpkgs/pkgs/games/performous/default.nix

33 lines
778 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub, cmake, pkg-config, gettext
2014-11-25 14:39:46 +01:00
, glibmm, libxmlxx, pango, librsvg
, SDL2, glew, boost, ffmpeg, portaudio, epoxy
2014-11-25 14:39:46 +01:00
}:
2016-08-21 08:56:11 +02:00
stdenv.mkDerivation rec {
pname = "performous";
2016-08-21 08:56:11 +02:00
version = "1.1";
2014-11-25 14:39:46 +01:00
meta = with lib; {
2014-11-25 14:39:46 +01:00
description = "Karaoke, band and dancing game";
homepage = "http://performous.org/";
license = licenses.gpl2Plus;
platforms = platforms.linux;
};
src = fetchFromGitHub {
owner = "performous";
repo = "performous";
2016-08-21 08:56:11 +02:00
rev = version;
sha256 = "08j0qhr65l7qnd5vxl4l07523qpvdwi31h4vzl3lfiinx1zcgr4x";
2014-11-25 14:39:46 +01:00
};
2020-03-25 18:36:13 +01:00
patches = [ ./performous-cmake.patch ];
nativeBuildInputs = [ cmake pkg-config gettext ];
2014-11-25 14:39:46 +01:00
buildInputs = [
glibmm libxmlxx pango librsvg
SDL2 glew boost ffmpeg portaudio epoxy
2014-11-25 14:39:46 +01:00
];
}