2021-02-05 17:12:51 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, cmake, pkg-config, gettext
|
2020-04-24 23:36:52 +00:00
|
|
|
, glibmm, libxmlxx, pango, librsvg
|
2021-12-06 16:07:01 +00:00
|
|
|
, SDL2, glew, boost, ffmpeg, portaudio, libepoxy
|
2020-04-24 23:36:52 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "performous";
|
|
|
|
version = "1.1";
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Karaoke, band and dancing game";
|
|
|
|
homepage = "http://performous.org/";
|
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "performous";
|
|
|
|
repo = "performous";
|
|
|
|
rev = version;
|
|
|
|
sha256 = "08j0qhr65l7qnd5vxl4l07523qpvdwi31h4vzl3lfiinx1zcgr4x";
|
|
|
|
};
|
|
|
|
|
|
|
|
patches = [ ./performous-cmake.patch ];
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
nativeBuildInputs = [ cmake pkg-config gettext ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
glibmm libxmlxx pango librsvg
|
2021-12-06 16:07:01 +00:00
|
|
|
SDL2 glew boost ffmpeg portaudio libepoxy
|
2020-04-24 23:36:52 +00:00
|
|
|
];
|
|
|
|
}
|